src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java

Print this page

        

*** 42,52 **** --- 42,55 ---- * {@code "text/ecmascript"};</li> * <li>as well as for the extension {@code "js"}.</li> * </ul> * Programs executing in engines created using {@link #getScriptEngine(String[])} will have the passed arguments * accessible as a global variable named {@code "arguments"}. + * + * @since 1.8u40 */ + @jdk.Exported public final class NashornScriptEngineFactory implements ScriptEngineFactory { @Override public String getEngineName() { return (String) getParameter(ScriptEngine.ENGINE); }