< prev index next >

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

Print this page

        

@@ -37,12 +37,16 @@
  *   <em>catches</em>
  *   finally
  *       <em>finallyBlock</em>
  * </pre>
  *
+ * @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 TryTree extends StatementTree {
     /**
      * Returns the 'try' block of this 'try' statement.
      *
      * @return the 'try' block
< prev index next >