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

Print this page
rev 1131 : 8068431: @since and @jdk.Exported are missing in jdk.nashorn.api.scripting classes and package-info.java files
Reviewed-by: attila, lagergren

@@ -39,11 +39,14 @@
  * are cases where user may need to access this exception (or implementation
  * 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.
+ *
+ * @since 1.8u40
  */
+@jdk.Exported
 @SuppressWarnings("serial")
 public abstract class NashornException extends RuntimeException {
     // script file name
     private String fileName;
     // script line number