United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6665053 Access denied when read jnlp.packEnabled jnlp.packEnabled property
JDK-6665053 : Access denied when read jnlp.packEnabled jnlp.packEnabled property

Details
Type:
Bug
Submit Date:
2008-02-19
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-03-26
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P1
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b13)

Related Reports
Backport:
Relates:
Relates:

Sub Tasks

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.
                                     
2008-02-19



Hardware and Software, Engineered to Work Together