[ https://issues.apache.org/jira/browse/NETBEANS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gaurav Gupta updated NETBEANS-2705: ----------------------------------- Description: If using Nashorn compatibility mode via setting the system property '*polyglot.js.nashorn-compat*', then on creation of script manager with '*Scripting.createManager()..getEngineByName("GraalVM:js")*' following exception is thrown : {code:java} js.nashorn-compat is experimental and must be enabled with allowExperimentalOptions() {code} See the Nashorn Migration Guide for more info: [https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md ] was: If using Nashorn compatibility mode via setting the system property '*polyglot.js.nashorn-compat*', then on creation of script manager with '*Scripting.createManager()..getEngineByName("GraalVM:js")*' folowing exception is thrown : {code:java} js.nashorn-compat is experimental and must be enabled with allowExperimentalOptions() {code} See the Nashorn Migration Guide for more info: [https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md ] > allowExperimentalOptions support in org.netbeans.api.scripting.Scripting API > ---------------------------------------------------------------------------- > > Key: NETBEANS-2705 > URL: https://issues.apache.org/jira/browse/NETBEANS-2705 > Project: NetBeans > Issue Type: Improvement > Affects Versions: 11.0 > Reporter: Gaurav Gupta > Priority: Major > Labels: API, Scripting, js > > If using Nashorn compatibility mode via setting the system property > '*polyglot.js.nashorn-compat*', then on creation of script manager with > '*Scripting.createManager()..getEngineByName("GraalVM:js")*' following > exception is thrown : > {code:java} > js.nashorn-compat is experimental and must be enabled with > allowExperimentalOptions() > {code} > See the Nashorn Migration Guide for more info: > [https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md > ] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists