[rfc][icedtea-web] Fix for PR1592 and jnlp applets/applications

Andrew Azores aazores at redhat.com
Mon Dec 23 07:33:21 PST 2013


>> Also, I guess I'm doing something wrong or just missing something somewhere. I tried to pass parameters to the JNLP applets through ServerAccess.executeJavawsHeadless(List<String>, String, String[]), but I kept getting runtime java.awt.GraphicsEnvironment.checkHeadless exceptions when I did this. I need to pass parameters to the applet to specify which specific test to run (which the plugin applet is doing), so unfortunately right now the JNLP tests are all specified by each having their own JNLP file, with only the <param> tag different :( is there a better way around this?
>
>No, you are not doing anything wrong.  I run into this  issue recently too, although under different conditions.

Actually it turns out I just misunderstood what that method does. What I thought would be adding parameters to pass to the application turned out to be overriding environment variables. Which definitely explains the lack of an X display varialble :)


This is a ping for review (this is sort of a blocker on PR1592 tests as well), and also I have another small additional patch to go on top. "jnlp-edition" is the main fix to enable per-JAR security descriptors for JNLP as well as browser applets, and "enhancement" refactors this and adds the same logic to a couple of places that I think it belongs but that I missed the first time around.

Thanks,

Andrew A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr1592-enhancement_jnlp-edition-based.patch
Type: text/x-patch
Size: 6389 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20131223/5fcdbcfd/pr1592-enhancement_jnlp-edition-based.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr1592-jnlp-edition.patch
Type: text/x-patch
Size: 3158 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20131223/5fcdbcfd/pr1592-jnlp-edition.patch 


More information about the distro-pkg-dev mailing list