Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    import jdk.nashorn.api.scripting.NashornScriptEngineFactory;

    NashornScriptEngineFactory factory = new NashornScriptEngineFactory();
    ScriptEngine engine = factory.getEnginegetScriptEngine(new String[] { "--global-per-engine" });

...