United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8026404 : Logging in Applet can trigger ACE: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")

Details
Type:
Bug
Submit Date:
2013-10-14
Status:
Closed
Updated Date:
2014-01-23
Project Name:
JDK
Resolved Date:
2013-10-15
Component:
core-libs
OS:
Sub-Component:
java.util.logging
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Duplicate:
Duplicate:
Relates:

Sub Tasks

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)

                                    

Comments
SQE suggest to fix it in April CPU as far as JDK-8019853. We would like to minimize deploy and GUI fixes in 7u60.
                                     
2014-01-14
7u60-critical-request:

See the 7u60-critical-request justification for JDK-8019853.  This fixes a regression in the fix for JDK-8019853 and must be backported together with JDK-8019853.

                                     
2013-12-18
This seems to have affected the following test failure:
RULE tests/demo/applets/GraphLayoutTest any any
                                     
2013-10-29
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/2c16140fb515
User:  lana
Date:  2013-10-22 17:23:08 +0000

                                     
2013-10-22
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2c16140fb515
User:  dfuchs
Date:  2013-10-15 11:02:24 +0000

                                     
2013-10-15
This is a regression caused by JDK-8019853.
                                     
2013-10-14



Hardware and Software, Engineered to Work Together