src/jdk.scripting.nashorn/share/classes/module-info.java
changeset 50878 fb7800b66c92
parent 47290 2853531b2c8c
child 54547 53aecb049e0a
--- a/src/jdk.scripting.nashorn/share/classes/module-info.java	Thu Jun 28 13:58:30 2018 +0200
+++ b/src/jdk.scripting.nashorn/share/classes/module-info.java	Thu Jun 28 18:04:19 2018 +0530
@@ -135,10 +135,14 @@
  * non-standard built-in objects:
  * {@code JSAdapter}, {@code JavaImporter}, {@code Packages}
  *
+ * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
+ * are deprecated with the intent to remove them in a future release.
+ *
  * @provides javax.script.ScriptEngineFactory
  * @moduleGraph
  * @since 9
  */
+@Deprecated(since="11", forRemoval=true)
 module jdk.scripting.nashorn {
     requires java.logging;
     requires jdk.dynalink;