--- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java Thu Jun 28 13:58:30 2018 +0200
+++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ExpressionTree.java Thu Jun 28 18:04:19 2018 +0530
@@ -29,6 +29,10 @@
* A tree node used as the base class for the different types of
* expressions.
*
+ * @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 ExpressionTree extends Tree {}