Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6665053

Access denied when read jnlp.packEnabled jnlp.packEnabled property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 6u10
    • 6u10
    • deploy
    • b13
    • b13
    • generic
    • generic
    • Verified

        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.

              ngthomas Thomas Ng (Inactive)
              hdongorcl Hao Dong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: