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

Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b108
    • Introduced In Version:
      8
    • Resolved In Build:
      b113
    • Verification:
      Verified

      Backports

        Description

        java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:453)
        at java.security.AccessController.checkPermission(AccessController.java:844)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at sun.plugin2.applet.SecurityManagerHelper.checkAccessHelper(Unknown Source)
        at sun.plugin2.applet.AWTAppletSecurityManager.checkAccess(Unknown Source)
        at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:315)
        at java.lang.ThreadGroup.getParent(ThreadGroup.java:167)
        at sun.awt.AppContext$6.getAppletContext(AppContext.java:889)
        at java.util.logging.LogManager.getUserContext(LogManager.java:480)
        at java.util.logging.LogManager.getLogger(LogManager.java:1167)
        at java.util.logging.LogManager.demandLogger(LogManager.java:523)
        at java.util.logging.Logger.demandLogger(Logger.java:391)
        at java.util.logging.Logger.getLogger(Logger.java:438)
        at HelloWorldApplet.init(HelloWorldApplet.java:48)
        at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:724)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: