< prev index next >

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

Print this page

    @@ -31,12 +31,16 @@
      * can occur if the language evolves and new kinds of Trees are
      * added to the {@code Tree} hierarchy.  May be thrown by a
      * {@linkplain TreeVisitor tree visitor} to indicate that the
      * visitor was created for a prior version of the language.
      *
    + * @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 class UnknownTreeException extends RuntimeException {

         private static final long serialVersionUID = 1L;

         private transient final Tree tree;

< prev index next >