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

AccessControlException when trying load the applets which share the system eventqueue

XMLWordPrintable

    • generic
    • generic

      1) Install JRE 618 b02 PIT
      2) try to load the following applet
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/security/eventqueue/ToolKitEventQueueACTest.html

      3) Do a page refresh
      Applet gets loaded but it throws exception in the java console

      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.plugin2.applet.Applet2SecurityManager.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 sun.plugin.util.GrayBoxPainter.beginPainting(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.setupGrayBoxPainter(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.access$600(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

      Note : fix of 6868485 triggers this exception

            dtitov Daniil Titov (Inactive)
            mnarayansunw Malathi Narayanan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: