APAR status
Closed as program error.
Error description
Error Message: NoClassDefFoundError: <class name> . Stack Trace: .
Local fix
Disable the shared classes cache by removing the -Xshareclasses option from the command line.
Problem summary
The problem occurs when a JAR file contains a JarIndex, and the application is reliant on that JarIndex to locate required classes. The JarIndex was not being searched when the shared classes cache was enabled.
Problem conclusion
The issue has been addressed in Semeru pull request 331: https://github.com/ibmruntimes/openj9-openjdk-jdk17/pull/331 If necessary, the previous behaviour can be restored by setting the following system property: com.ibm.oti.shared.disableJarIndex=true . This APAR will be fixed in the following Releases: . IBM Semeru Runtimes 17 17.0.11.0 11 11.0.23.0 IBM SDK, Java Technology Edition 8 SR - (8.0.-.0) . Downloads and supplementary documentation can be found at the following locations: - For non z/OS operating systems: - IBM Semeru Runtimes, Version 11 and later https://www.ibm.com/semeru-runtimes/downloads/ - IBM SDK, Java Technology Edition, Version 8 https://www.ibm.com/support/pages/java-sdk-downloads/ - For the z/OS operating system: - Java SDK Products on z/OS https://www.ibm.com/support/pages/java-sdk-products-zos
Temporary fix
Comments
APAR Information
APAR number
IJ51324
Reported component name
OPENJDK CLASS L
Reported component ID
621800100
Reported release
H00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-05-29
Closed date
2024-05-29
Last modified date
2024-05-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
OPENJDK CLASS L
Fixed component ID
621800100
Applicable component levels
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
29 May 2024