src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java
changeset 50878 fb7800b66c92
parent 47750 0084b493dfc9
equal deleted inserted replaced
50877:700fffd3c871 50878:fb7800b66c92
    44  * <li>as well as for the extension {@code "js"}.</li>
    44  * <li>as well as for the extension {@code "js"}.</li>
    45  * </ul>
    45  * </ul>
    46  * Programs executing in engines created using {@link #getScriptEngine(String[])} will have the passed arguments
    46  * Programs executing in engines created using {@link #getScriptEngine(String[])} will have the passed arguments
    47  * accessible as a global variable named {@code "arguments"}.
    47  * accessible as a global variable named {@code "arguments"}.
    48  *
    48  *
       
    49  * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
       
    50  * are deprecated with the intent to remove them in a future release.
       
    51  *
    49  * @since 1.8u40
    52  * @since 1.8u40
    50  */
    53  */
       
    54 @Deprecated(since="11", forRemoval=true)
    51 public final class NashornScriptEngineFactory implements ScriptEngineFactory {
    55 public final class NashornScriptEngineFactory implements ScriptEngineFactory {
    52     @Override
    56     @Override
    53     public String getEngineName() {
    57     public String getEngineName() {
    54         return (String) getParameter(ScriptEngine.ENGINE);
    58         return (String) getParameter(ScriptEngine.ENGINE);
    55     }
    59     }