]
Tomaz Cerar updated WFLY-1769:
------------------------------
Fix Version/s: 8.0.0.Alpha4
2 config updates for OpenJDK 8
------------------------------
Key: WFLY-1769
URL:
https://issues.jboss.org/browse/WFLY-1769
Project: WildFly
Issue Type: Feature Request
Components: EE
Reporter: Juergen Zimmermann
Assignee: David Lloyd
Fix For: 8.0.0.Alpha4
JDK 8 uses the Javascript Engine Nashorn instead of Rhino in JDK 7 (and 6).
Therefore, 2 additional config lines are required to support JDK 8 in addition to JDK 7:
After making the following 2 config updates for bean validation my web app is running
with WildFly and OpenJDK 8:
1) In modules/system/layers/base/sun/jdk/main/module.xml: add the following <path>
declaration as the 2nd subtag inside <paths>, i.e. after the
"com/sun/script/javascript" for JDK 7:
{code}
<path name="jdk/nashorn/api/scripting"/>
{code}
2) In
modules/system/layers/base/sun/jdk/main/service-loader-resources/META-INF/services/javax.script.ScriptEngineFactory
add the following line as the 2nd service, i.e. as a alternative service for JDK 7:
{code}
jdk.nashorn.api.scripting.NashornScriptEngineFactory
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: