< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java

Print this page

        

@@ -26,12 +26,16 @@
 package jdk.nashorn.api.tree;
 
 /**
  * Interface for receiving diagnostics from Nashorn parser.
  *
+ * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
+ * are deprecated with the intent to remove them in a future release.
+ *
  * @since 9
  */
+@Deprecated(since="11", forRemoval=true)
 @FunctionalInterface
 public interface DiagnosticListener {
     /**
      * Invoked whenever a parsing problem is found.
      *
< prev index next >