equal
deleted
inserted
replaced
30 * import javax.script.*; |
30 * import javax.script.*; |
31 * ... |
31 * ... |
32 * ScriptEngine nashornEngine = new ScriptEngineManager().getEngineByName("Nashorn"); |
32 * ScriptEngine nashornEngine = new ScriptEngineManager().getEngineByName("Nashorn"); |
33 * </pre> |
33 * </pre> |
34 * <p>Nashorn script engines implement the optional {@link javax.script.Invocable} and {@link javax.script.Compilable} |
34 * <p>Nashorn script engines implement the optional {@link javax.script.Invocable} and {@link javax.script.Compilable} |
35 * interfaces, allowing for efficient pre-compilation and repeated execution of scripts. See |
35 * interfaces, allowing for efficient pre-compilation and repeated execution of scripts. In addition, |
|
36 * this package provides nashorn specific extension classes, interfaces and methods. See |
36 * {@link jdk.nashorn.api.scripting.NashornScriptEngineFactory} for further details. |
37 * {@link jdk.nashorn.api.scripting.NashornScriptEngineFactory} for further details. |
37 */ |
38 */ |
38 package jdk.nashorn.api.scripting; |
39 package jdk.nashorn.api.scripting; |