From 8930ccc643f583887cc096a3d709c4a43e8f8af0 Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Thu, 6 Dec 2018 10:50:44 -0800 Subject: [PATCH] 8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true Reviewed-by: prr, serb --- .../share/classes/netscape/javascript/JSObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java b/src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java index 9150e795c24..e6ae5a67ba5 100644 --- a/src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java +++ b/src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java @@ -150,12 +150,12 @@ public abstract class JSObject { * @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 * * java.applet package documentation 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);