Make "Verify Java Version" applet work with java 9
Jiri Vanek
jvanek at redhat.com
Tue Sep 12 07:25:25 UTC 2017
pushed to head
On 09/05/2017 09:58 AM, Jiri Vanek wrote:
> On 09/05/2017 09:45 AM, Fridrich Strba wrote:
>> 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
>>
>
> Thank you very very much!
>
> I have not tested the patchy, but by eye-balling it looks good enough (not counting in that the
> whole concept of added exports others is bad)
>
> Please push to both head and 1.7, although I don't know if there will be some 1.7.1 before 1.8.
>
>
> Thank you very very much again!
> J.
>
--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com M: +420775390109
More information about the distro-pkg-dev
mailing list