changeset 54005:538b38d16d94

8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true Reviewed-by: prr, serb
author kcr
date Thu, 06 Dec 2018 10:50:44 -0800
parents 5adeed0d6311
children c00ce2c36143
files src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);