< prev index next >

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

Print this page

    @@ -27,12 +27,16 @@

     /**
      * Provides methods to convert between character positions and line numbers
      * for a compilation unit.
      *
    + * @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 LineMap {
         /**
          * Find the line containing a position; a line termination
          * character is on the line it terminates.
          *

< prev index next >