< prev index next >

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

Print this page

    @@ -44,12 +44,16 @@
      * <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"}.
      *
    + * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
    + * are deprecated with the intent to remove them in a future release.
    + *
      * @since 1.8u40
      */
    +@Deprecated(since="11", forRemoval=true)
     public final class NashornScriptEngineFactory implements ScriptEngineFactory {
         @Override
         public String getEngineName() {
             return (String) getParameter(ScriptEngine.ENGINE);
         }

< prev index next >