[rfc][icedtea-web] Reflectively add URLPermission to SecurityDesc if available

Andrew Azores aazores at redhat.com
Wed Jul 2 16:14:54 UTC 2014


Hi,

This patch adds URLPermission to the sandbox permissions set in 
SecurityDesc, if URLPermission is available (so for Java 8+). Certain 
applets are broken when using IcedTea-Web with Java 8 due to the lack of 
this permission. An example of such an applet is Oasis[0]. This applet 
should work fine with plain IcedTea-Web and JDK 7, but should fail with 
plain IcedTea-Web and JDK 8. It should continue to work with patched 
IcedTea-Web and JDK 7 but produce a few small WARNING_DEBUG level 
messages, and should begin to work with patched IcedTea-Web and JDK 8.

[0] https://oasisweb.uga.edu/oasis.html

Thanks,
--
Andrew A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urlpermissions-2.patch
Type: text/x-patch
Size: 4057 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140702/cb93cd8c/urlpermissions-2.patch>


More information about the distro-pkg-dev mailing list