--- old/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java 2018-06-27 09:02:19.000000000 +0530
+++ new/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/LabeledStatementTree.java 2018-06-27 09:02:18.000000000 +0530
@@ -33,8 +33,12 @@
* label : statement
*
*
+ * @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 LabeledStatementTree extends StatementTree {
/**
* Returns the label associated with this statement.