--- old/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java 2018-06-27 09:02:34.000000000 +0530 +++ new/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ReturnTree.java 2018-06-27 09:02:33.000000000 +0530 @@ -34,8 +34,12 @@ * return expression; * * + * @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 ReturnTree extends StatementTree { /** * Returns the expression being returned. This is null if no value