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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 11.0
    • None
    • None

    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

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

            Dates

              Created:
              Updated: