APAR status
Closed as program error.
Error description
Error Message: Application incorrectly throws java.security.AccessControlException, and indicates that package access permission is denied. e.g. java.security.AccessControlException: Access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.pkg") . Stack Trace: java.security.AccessControlException: Access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.pkg") at java.security.AccessController.throwACE(AccessController.java) at java.security.AccessController.checkPermission(AccessController. java) at java.lang.SecurityManager.checkPermission(SecurityManager.java) at java.lang.SecurityManager.checkPackageAccess(SecurityManager.jav a) at sun.reflect.misc.ReflectUtil.checkPackageAccess(ReflectUtil.java ) at sun.reflect.misc.ReflectUtil.checkPackageAccess(ReflectUtil.java ) at java.lang.Class.getEnclosingClass(Class.java) .
Local fix
Problem summary
The problem was caused by unnecessary package access checks within java.lang.Class.getDeclaringClass() and Class.getEnclosingClass().
Problem conclusion
This APAR will be fixed in the following Java Releases: 7 SR7 (7.0.7.0) 5.0 SR16 FP6 (5.0.16.6) 6 SR15 (6.0.16) 6 R1 SR8 (6.1.8.0) 7 R1 SR1 (7.1.1.0) . The JVM has been updated to remove unnecessary package access checks.
Temporary fix
Comments
APAR Information
APAR number
IV54644
Reported component name
JAVA 5 J9 COMMO
Reported component ID
620500127
Reported release
500
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-01-27
Closed date
2014-01-27
Last modified date
2014-04-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA 5 J9 COMMO
Fixed component ID
620500127
Applicable component levels
R500 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
30 April 2014