< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java

Print this page

        

@@ -40,12 +40,16 @@
  * defined subtype of this). For example, if java interface is implemented by a
  * script object or Java access to script object properties via java.util.Map
  * interface. In these cases, user code will get an instance of this or
  * implementation defined subclass.
  *
+ * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool 
+ * are deprecated with the intent to remove them in a future release.
+ *
  * @since 1.8u40
  */
+@Deprecated(since="11", forRemoval=true)
 @SuppressWarnings("serial")
 public abstract class NashornException extends RuntimeException {
     private static final long serialVersionUID = 1L;
 
     // script file name
< prev index next >