8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true
Reviewed-by: prr, serb
--- 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);