src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java
equal
deleted
inserted
replaced
26 package jdk.nashorn.api.tree; |
26 package jdk.nashorn.api.tree; |
27 |
27 |
28 /** |
28 /** |
29 * Interface for receiving diagnostics from Nashorn parser. |
29 * Interface for receiving diagnostics from Nashorn parser. |
30 * |
30 * |
|
31 * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool |
|
32 * are deprecated with the intent to remove them in a future release. |
|
33 * |
31 * @since 9 |
34 * @since 9 |
32 */ |
35 */ |
|
36 @Deprecated(since="11", forRemoval=true) |
33 @FunctionalInterface |
37 @FunctionalInterface |
34 public interface DiagnosticListener { |
38 public interface DiagnosticListener { |
35 /** |
39 /** |
36 * Invoked whenever a parsing problem is found. |
40 * Invoked whenever a parsing problem is found. |
37 * |
41 * |