src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/DiagnosticListener.java
changeset 50878 fb7800b66c92
parent 47216 71c04702a3d5
equal deleted inserted replaced
50877:700fffd3c871 50878:fb7800b66c92
    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      *