APAR status
Closed as program error.
Error description
Error Message: n/a . Stack Trace: Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name MyLabels, locale en at java.base/java.util.ResourceBundle.throwMissingResourceException (ResourceBundle.java:2052) at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle. java:1690) at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle. java:1593) at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle. java:1556) at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java :865) at Application.main(Application.java:13) Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1 at java.base/java.lang.System.arraycopy(Native Method) at java.base/java.io.PushbackInputStream.unread(PushbackInputStream .java:232) at java.base/java.util.ResourceBundle.isASCII(ResourceBundle.java:3 775) at java.base/java.util.ResourceBundle$Control.newBundle0(ResourceBu ndle.java:3253) at java.base/java.util.ResourceBundle$Control.newBundle(ResourceBun dle.java:3158) at java.base/java.util.ResourceBundle.loadBundle(ResourceBundle.jav a:1991) at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.jav a:1777) at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.jav a:1729) at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle. java:1663) .
Local fix
Problem summary
When the resource file exists but is empty, attempting to load it using java.util.ResourceBundle results in an ArrayIndexOutOfBoundsException.
Problem conclusion
Implemented a check to handle empty resource files in java.util.ResourceBundle processing . This APAR will be fixed in the following Releases: . IBM Semeru Runtimes 21 21.0.8.0 17 17.0.16.0 11 11.0.28.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
IJ54483
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
2025-04-23
Closed date
2025-05-16
Last modified date
2025-05-19
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:
19 May 2025
