-
Bug
-
Resolution: Fixed
-
P2
-
6u27, 7
-
b31
-
generic, x86
-
generic, windows_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2228206 | 8 | Nikolay Gorshkov | P2 | Closed | Fixed | b52 |
JDK-2228442 | 7u21 | Nikolay Gorshkov | P2 | Closed | Fixed | b04 |
JDK-8009336 | 7u17 | Nikolay Gorshkov | P2 | Resolved | Fixed | b31 |
JDK-8001814 | 7u15 | Nikolay Gorshkov | P2 | Resolved | Fixed | b31 |
JDK-8000761 | 7u10 | Nikolay Gorshkov | P2 | Closed | Fixed | b12 |
JDK-8000760 | 7u9 | Nikolay Gorshkov | P2 | Resolved | Fixed | b31 |
JDK-2229875 | 7u7 | Nikolay Gorshkov | P2 | Resolved | Fixed | b32 |
JDK-2230607 | 6u38 | Nikolay Gorshkov | P2 | Closed | Fixed | b01 |
JDK-8000720 | 6u37 | Nikolay Gorshkov | P2 | Resolved | Fixed | b31 |
JDK-2229343 | 6u35 | Nikolay Gorshkov | P2 | Resolved | Fixed | b31 |
JDK-2227674 | 6u34 | Nikolay Gorshkov | P2 | Resolved | Fixed | b32 |
Java Plug-in 10.3.0.5
Using JRE version 1.7.0_03-b05 Java HotSpot(TM) Client VM
and
JRE version 1.7.0_04
ADDITIONAL OS VERSION INFORMATION :
Windows 7 32 bit
A DESCRIPTION OF THE PROBLEM :
I am running a applet and one of the class is reading use.home (System.getProperty("user.home");)
This code is executing this code few times and it is throwing AccessControlException on irregular interval .
It working most of the time and it fails sporadically and it lead to the application crash.
It is not reproducible with JRE1.6 and 1.5
REGRESSION. Last worked in version 6u31
ERROR MESSAGES/STACK TRACES THAT OCCUR :
ava.security.AccessControlException: access denied ("java.util.PropertyPermission" "user.home" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.documentum.web.applet.ucfinvoker.LaunchRuntimeDelegate.init(Unknown Source)
at com.documentum.web.applet.ucfinvoker.LaunchRuntime.init(Unknown Source)
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(Unknown Source)
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
try
{
System.getProperty("user.home");
}
catch(AccessControlException securityEx)
{
}
---------- END SOURCE ----------
SHORT SUMMARY: When several signed applets are simultaneously loaded
from the same web page, some of them may not get full permissions.
INDICATORS: Different kinds of AccessControlException's that are not
supposed to be thrown for signed applets (for example, on reading
"user.home" property, or on accessing a local file system).
TRIGGERS: The problem happens sporadically and have symptoms of
a race condition with low-to-medium failure rate.
KNOWN WORKAROUND: Though there is no direct relation between this change
and the problem's root cause, disabling the Java Deployment Cache helps
to avoid the problem.
PRESENT SINCE: Introduction of plugin2, at least.
HOW TO VERIFY: There is no stand-alone test case for this issue.
The customer verifies the provided binaries in their environment
and informs us about the verification results.
REGRESSION: No.
- backported by
-
JDK-2227674 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-2229343 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-2229875 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-8000720 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-8000760 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-8001814 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-8009336 Applet throws AccessControlException sporadically while reading user.home
- Resolved
-
JDK-2228206 Applet throws AccessControlException sporadically while reading user.home
- Closed
-
JDK-2228442 Applet throws AccessControlException sporadically while reading user.home
- Closed
-
JDK-2230607 Applet throws AccessControlException sporadically while reading user.home
- Closed
-
JDK-8000761 Applet throws AccessControlException sporadically while reading user.home
- Closed
- duplicates
-
JDK-7187914 Bug 7171399: applet throws accesscontrolexception sporadically reading user.home
- Closed