Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2705

allowExperimentalOptions support in org.netbeans.api.scripting.Scripting API

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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 :

      js.nashorn-compat is experimental and must be enabled with allowExperimentalOptions()
      

      See the Nashorn Migration Guide for more info: [https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md
      ]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jgauravgupta Gaurav Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: