src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/ScriptUtils.java
equal
deleted
inserted
replaced
35 import jdk.nashorn.internal.runtime.linker.Bootstrap; |
35 import jdk.nashorn.internal.runtime.linker.Bootstrap; |
36 |
36 |
37 /** |
37 /** |
38 * Utilities that are to be called from script code. |
38 * Utilities that are to be called from script code. |
39 * |
39 * |
|
40 * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool |
|
41 * are deprecated with the intent to remove them in a future release. |
|
42 * |
40 * @since 1.8u40 |
43 * @since 1.8u40 |
41 */ |
44 */ |
|
45 @Deprecated(since="11", forRemoval=true) |
42 public final class ScriptUtils { |
46 public final class ScriptUtils { |
43 private ScriptUtils() {} |
47 private ScriptUtils() {} |
44 |
48 |
45 /** |
49 /** |
46 * Returns AST as JSON compatible string. This is used to |
50 * Returns AST as JSON compatible string. This is used to |