< prev index next >

## src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/Diagnostic.java

Print this page

    *** 38,49 ****
    --- 38,53 ----
       * {@link #NOPOS}) and 0 are not valid line or column numbers.
       *
       * <p>Line terminator is as defined in ECMAScript specification which is one
       * of { \u000A, \u000B, \u2028, \u2029 }.
       *
    +  * @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)
      public interface Diagnostic {

          /**
           * Kinds of diagnostics, for example, error or warning.
           *
    *** 54,63 ****
    --- 58,68 ----
           * word "Warning". There is no requirement that the Kind
           * should imply any inherent semantic meaning to the message
           * of the diagnostic: for example, a tool might provide an
           * option to report all warnings as errors.
           */
    +     @Deprecated(since="11", forRemoval=true)
          enum Kind {
              /**
               * Problem which prevents the tool's normal completion.
               */
              ERROR,

< prev index next >