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

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

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            jgauravgupta Gaurav Gupta

            Dates

              Created:
              Updated:

              Slack

                Issue deployment