Project:
View Revisions: Issue #43903 | [ Back to Issue ] | ||
Summary | 0043903: Openbravo fails to compile with JDK15 because of removal of Nashorn JS engine | ||
Revision | 2020-11-06 08:44 by alostale | ||
Description | Project: http://wiki.openbravo.com/wiki/Projects:Add_JavaScript_Engine [^] The 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/ [^] |
||
Revision | 2020-11-06 08:43 by alostale | ||
Description | Project: https://issues.openbravo.com/view.php?id=43903 [^] The 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/ [^] |
||
Revision | 2020-11-04 14:04 by alostale | ||
Description | The 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/ [^] |
Copyright © 2000 - 2009 MantisBT Group |