8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true

Reviewed-by: prr, serb
This commit is contained in:
Kevin Rushforth 2018-12-06 10:50:44 -08:00
parent 34b2a6dde9
commit 8930ccc643

View File

@ -150,12 +150,12 @@ public abstract class JSObject {
* @throws JSException when an error is reported from the browser or * @throws JSException when an error is reported from the browser or
* JavaScript engine or if applet is {@code null} * 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"> * <a href="{@docRoot}/java.desktop/java/applet/package-summary.html">
* java.applet package documentation</a> for further information. * java.applet package documentation</a> for further information.
*/ */
@Deprecated(since = "9") @Deprecated(since="9", forRemoval=true)
@SuppressWarnings("exports") @SuppressWarnings("exports")
public static JSObject getWindow(Applet applet) throws JSException { public static JSObject getWindow(Applet applet) throws JSException {
return ProviderLoader.callGetWindow(applet); return ProviderLoader.callGetWindow(applet);