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

Access denied when read jnlp.packEnabled jnlp.packEnabled property

    XMLWordPrintable

Details

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

    Backports

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: