Make "Verify Java Version" applet work with java 9

Fridrich Strba fridrich.strba at suse.com
Tue Sep 5 07:45:19 UTC 2017


Hello,

With the current state of icedtea-web, when one tries to use the
https://www.java.com/en/download/installed8.jsp?detect=jre with java 9,
one receives:

java.lang.IllegalAccessError: class netscape.javascript.JSObject (in
module jdk.jsobject) cannot access class sun.applet.PluginDebug (in
module java.desktop) because module java.desktop does not export
sun.applet to module jdk.jsobject

The attached patch fixes this and the applet runs.

Cheers

Fridrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea-web-exports.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170905/b13e725f/icedtea-web-exports.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170905/b13e725f/signature.asc>


More information about the distro-pkg-dev mailing list