--- old/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java 2018-06-27 09:02:11.000000000 +0530 +++ new/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/FunctionExpressionTree.java 2018-06-27 09:02:11.000000000 +0530 @@ -41,8 +41,12 @@ * var func = (x) => x+1 * * + * @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 FunctionExpressionTree extends ExpressionTree { /** * Returns the name of the function being declared.