Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043903
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
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

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/HttpServletCalloutInformationProvider.java:37: error: package jdk.nashorn.api.scripting does not exist
    [javac] import jdk.nashorn.api.scripting.JSObject;
    [javac] ^
    [javac] src/org/openbravo/erpCommon/ad_callouts/HttpServletCalloutInformationProvider.java:58: error: cannot find symbol
    [javac] private List<JSObject> responseElements;
    [javac] ^
    [javac] symbol: class JSObject
    [javac] location: class HttpServletCalloutInformationProvider

https://openjdk.java.net/jeps/372 [^]
https://openjdk.java.net/projects/jdk/15/ [^]
Steps To ReproduceDownload Openjdk15 (at least Build20 or higher) from:
https://jdk.java.net/15/ [^]

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
(0119497)
shuehner (administrator)
2020-04-29 16:48

Apart of that compilation error the following code likely also requires adjustment/testing:

https://code.openbravo.com/erp/devel/pi/file/tip/modules/org.openbravo.client.application/src/org/openbravo/client/application/OBBindings.java#l192 [^]
(0123577)
hgbot (developer)
2020-10-06 16:56

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/193 [^]

- 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