APAR status
Closed as program error.
Error description
Error Message: java.lang.LinkageError: loading constraint violation when overriding method "com/sample/Printer$PrinterEngine.print(Ljava/lang/String;Lcom/s ample/Printer$SomeDescriptor;)V" during creation of class "com/sample/Printer$PrinterEngine$$Lambda$2/00000000D0636330": loader "java/lang/InternalAnonymousClassLoader@273969de" of class "com/sample/Printer$PrinterEngine$$Lambda$2/00000000D0636330" and loader "java/net/URLClassLoader@e67e8027" of class "com/sample/Printer$PrinterEngine" have different types for the method signature . Stack Trace: j9vm29!setClassLoadingConstraintOverrideError+0x31c <OSB>c:\temp\bld_373586\bld_win_x86-64_cmprssptrs\vm\exceptionsu pport.c @ 999<CSB> j9vm29!internalCreateRAMClassFromROMClassImpl+0x583 <OSB>c:\temp\bld_373586\bld_win_x86-64_cmprssptrs\vm\createramcl ass.cpp @ 2048<CSB> j9vm29!internalCreateRAMClassFromROMClass+0x4c7 <OSB>c:\temp\bld_373586\bld_win_x86-64_cmprssptrs\vm\createramcl ass.cpp @ 2838<CSB> j9vm29!internalDefineClass+0x4ed <OSB>c:\temp\bld_373586\bld_win_x86-64_cmprssptrs\bcutil\definec lass.c @ 144<CSB> jclse7b_29!defineClassCommon+0x51f <OSB>c:\temp\bld_373586\bld_win_x86-64_cmprssptrs\jcl\common\jcl define.c @ 203<CSB> jclse7b_29!Java_sun_misc_Unsafe_defineAnonymousClass+0x230 <OSB>c:\temp\bld_373586\bld_win_x86-64_cmprssptrs\jcl\common\sun _misc_unsafe.cpp @ 113<CSB> .
Local fix
Problem summary
The JVM was checking class loading constraints incorrectly for anonymous classes.
Problem conclusion
The JVM has been updated to use the correct ClassLoader for class loading constraint checks for anonymous classes. . This APAR will be fixed in the following Java Releases: 8 SR5 FP10 (8.0.5.10) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IJ03716
Reported component name
J9 COMMON CODE
Reported component ID
620700127
Reported release
270
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-01-29
Closed date
2018-01-29
Last modified date
2018-01-29
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
[{"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:
21 February 2022