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

Loading applets through jsse results in AccessControlException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.0.3
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.0.3
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_9, windows_98

      Backports

        Description

        Loading applets through jsse results in AccessControlException. A complete stack trace is included to provide better context.

        See the comments field for some explanations of this problem.

        java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)

        at java.security.AccessControlContext.checkPermission(Unknown Source)

        at java.security.AccessController.checkPermission(Unknown Source)

        at java.lang.SecurityManager.checkPermission(Unknown Source)

        at sun.applet.AppletSecurity.checkAccess(Unknown Source)

        at java.lang.ThreadGroup.checkAccess(Unknown Source)

        at java.lang.Thread.init(Unknown Source)

        at java.lang.Thread.<init>(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.<init>(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)

        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)

        at java.io.OutputStream.write(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA6275)

        at sun.net.www.protocol.https.HttpsClient.afterConnect(DashoA6275)

        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(DashoA6275)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(DashoA6275)

        at sun.net.www.protocol.https.PluginHttpsURLConnection.getResponseCode(Unknown Source)

        at sun.applet.AppletClassLoader.getBytes(Unknown Source)

        at sun.applet.AppletClassLoader.access$100(Unknown Source)

        at sun.applet.AppletClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.applet.AppletClassLoader.findClass(Unknown Source)

        at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.applet.AppletClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.applet.AppletClassLoader.loadCode(Unknown Source)

        at sun.applet.AppletPanel.createApplet(Unknown Source)

        at sun.plugin.AppletViewer.createApplet(Unknown Source)

        at sun.applet.AppletPanel.runLoader(Unknown Source)

        at sun.applet.AppletPanel.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ywangsunw Yingxian Wang (Inactive)
                Reporter:
                ywangsunw Yingxian Wang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: