< prev index next >

src/jdk.jsobject/share/classes/netscape/javascript/JSObject.java

Print this page
rev 52827 : 8214805: Mark deprecated netscape.javascript.JSObject::getWindow API forRemoval=true
Reviewed-by:

*** 148,163 **** * @return JSObject representing the window containing the given applet or * {@code null} if we are not connected to a browser. * @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 * <a href="{@docRoot}/java.desktop/java/applet/package-summary.html"> * java.applet package documentation</a> for further information. */ ! @Deprecated(since = "9") @SuppressWarnings("exports") public static JSObject getWindow(Applet applet) throws JSException { return ProviderLoader.callGetWindow(applet); } --- 148,163 ---- * @return JSObject representing the window containing the given applet or * {@code null} if we are not connected to a browser. * @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, 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", forRemoval=true) @SuppressWarnings("exports") public static JSObject getWindow(Applet applet) throws JSException { return ProviderLoader.callGetWindow(applet); }
< prev index next >