<AWT Dev> [14] RFR: 8222563: Remove terminally deprecated method netscape.javascript.JSObject::getWindow

Kevin Rushforth kevin.rushforth at oracle.com
Mon Jun 17 21:11:32 UTC 2019


Please review the webrev [1] for JDK-8222563 [2] to remove the 
terminally deprecated netscape.javascript.JSObject::getWindow method. 
The proposed fix also eliminates the dependency from the jdk.jsobject 
module on the java.desktop module.

The fix removes the netscape.javascript.JSObject::getWindow(Applet) 
method along with the (not exported) service provider interface that was 
used by getWindow; as of JDK 11 there are no implementations of this 
provider. The fix also removes the dependency on the java.desktop module 
from the module-info.java file of the jdk.jsobject module.

I have filed a CSR [3] for this, which also needs to be reviewed.

Thanks.

-- Kevin

[1] http://cr.openjdk.java.net/~kcr/8222563/webrev.00/
[2] https://bugs.openjdk.java.net/browse/JDK-8222563
[3] https://bugs.openjdk.java.net/browse/JDK-8222677



More information about the awt-dev mailing list