APAR status
Closed as program error.
Error description
Error Message: invokedynamic failed security check for lambdas on bootclass path. . Stack Trace: java.security.AccessControlException: Access denied ("java.lang.RuntimePermission" "<bootclass>")at java.security.AccessControlContext.checkPermissionWithCache(Acce ssControlContext.java:446)at java.security.AccessController.checkPermissionDisableCallout(Acc essController.java:186)at java.security.AccessController.checkPermission(AccessController. java:228)at java.lang.SecurityManager.checkPermission(SecurityManager.java:5 51)at java.lang.SecurityManager.checkPackageAccess(SecurityManager.jav a:1644)at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:310)at java.lang.ClassLoader.loadClass(ClassLoader.java:713)at java.lang.Class.forNameImpl(Native Method)at java.lang.Class.forName(Class.java:269)at java.lang.invoke.MethodType.nonPrimitiveClassFromString(MethodTy pe.java:302)at java.lang.invoke.MethodType.parseIntoClasses(MethodType.java:364 )at java.lang.invoke.MethodType.fromMethodDescriptorString(MethodTyp e.java:276)at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle. java:757) .
Local fix
Problem summary
The problem occurs when performing an invokedynamic on a lambda on the bootclass path (if a security manager is enabled).
Problem conclusion
The JVM has been updated to perform the correct security check. . This APAR will be fixed in the following Java Releases: 7 R1 SR2 (7.1.2.0) 7 SR8 (7.0.8.0) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, Java maintenance is available from: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IV65161
Reported component name
J9 COMMON CODE
Reported component ID
620700127
Reported release
270
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-09-23
Closed date
2014-10-10
Last modified date
2014-10-10
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
J9 COMMON CODE
Fixed component ID
620700127
Applicable component levels
R270 PSY
UP
R260 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
22 February 2022