8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true
authorkcr
Thu, 06 Dec 2018 10:50:44 -0800
changeset 52968 538b38d16d94
parent 52967 5adeed0d6311
child 52969 c00ce2c36143
8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true Reviewed-by: prr, serb
src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java
--- a/src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java	Thu Dec 06 13:32:15 2018 +0000
+++ b/src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java	Thu Dec 06 10:50:44 2018 -0800
@@ -150,12 +150,12 @@
      * @throws JSException when an error is reported from the browser or
      * JavaScript engine or if applet is {@code null}
      *
-     * @deprecated  The Applet API is deprecated. See the
+     * @deprecated The Applet API is deprecated, no replacement. See the
      * <a href="{@docRoot}/java.desktop/java/applet/package-summary.html">
      * java.applet package documentation</a> for further information.
      */
 
-    @Deprecated(since = "9")
+    @Deprecated(since="9", forRemoval=true)
     @SuppressWarnings("exports")
     public static JSObject getWindow(Applet applet) throws JSException {
         return ProviderLoader.callGetWindow(applet);