Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminorhave not tried2020-04-29 16:412020-10-06 16:56
ReportershuehnerView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0043903: Openbravo fails to compile with JDK15 because of removal of Nashorn JS engine

DescriptionThe Nashorn JS engine shipped with OpenJDK was marked as deprecated since JDK11 and has been removed for JDK15 (since build ea20)

pi fails to compile since then as it still references this engine in some places.

    [javac] src/org/openbravo/erpCommon/ad_callouts/ error: package jdk.nashorn.api.scripting does not exist
    [javac] import jdk.nashorn.api.scripting.JSObject;
    [javac] ^
    [javac] src/org/openbravo/erpCommon/ad_callouts/ error: cannot find symbol
    [javac] private List<JSObject> responseElements;
    [javac] ^
    [javac] symbol: class JSObject
    [javac] location: class HttpServletCalloutInformationProvider [^] [^]
Steps To ReproduceDownload Openjdk15 (at least Build20 or higher) from: [^]

Set JAVA_HOME to using it.
run install.source
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0044803 closedplatform Support for old-style callout (HttpServletBased and not SimpleCallout) should be removed (for generated-Windows, ad_callout) 
blocks feature request 0043901 newplatform Support JDK15 

-  Notes
shuehner (administrator)
2020-04-29 16:48

Apart of that compilation error the following code likely also requires adjustment/testing: [^]
hgbot (developer)
2020-10-06 16:56

Merge Request created: [^]

- Issue History
Date Modified Username Field Change
2020-04-29 16:41 shuehner New Issue
2020-04-29 16:41 shuehner Assigned To => platform
2020-04-29 16:41 shuehner Modules => Core
2020-04-29 16:41 shuehner Triggers an Emergency Pack => No
2020-04-29 16:41 shuehner Relationship added blocks 0043901
2020-04-29 16:48 shuehner Note Added: 0119497
2020-08-12 16:59 shuehner Relationship added related to 0044803
2020-10-06 16:56 hgbot Note Added: 0123577

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker