JDK-6665053 : Access denied when read jnlp.packEnabled jnlp.packEnabled property
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-02-19
  • Updated: 2010-09-17
  • Resolved: 2008-03-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u10 b13Fixed 7Fixed
Related Reports
Relates :  
Relates :  
Description
The client side pack 200 support introduced a "jnlp.packEnabled" property. In java plugin, sun.plugin.PluginURLJarFileCallBack does not have the privelege to read this property. We need either read permission for those properties or use AccessController.doPrivileged() to read them.

One testcase is the SwingSet2 applet demo. http://java.sun.com/products/plugin/1.5.0/demos/jfc/SwingSet2/SwingSet2.html

Click the JEditorPane HTML demo, click the "Title Page" link, you will see the exception, and the page is not loaded.

Comments
EVALUATION Permission to read these properties must be added.
19-02-2008