APAR status
Closed as program error.
Error description
Error Message: Could not find or load main class @filename aused by: java.lang.ClassNotFoundException: @filename . Stack Trace: . The entire word "@filename" is being wrongly treated as a main class name, either leading to or causing a failure.
Local fix
There is no clear workaround to get the command-line argument file without any code change, other than to pass in the arguments normally without going through a file.
Problem summary
Command line argument files are not handled properly on z/OS. Due to incorrect handling of EBCDIC encoding, the '@' is not recognized and the file name is treated like a main class name. Furthermore, the file contents cannot be parsed properly on z/OS due to encoding inconsistencies of handling ASCII files in a z/OS java environment.
Problem conclusion
Command line argument file declaration is now recognized by detecting the '@' indicator. Support has been added for recognition of ISO-8859-1 command-line argument files. . This APAR will be fixed in the following Releases: . IBM Semeru Runtime Certified Edition 11 11.0.16.0 . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available maintenance can be found at: https://www.ibm.com/support/pages/java-sdk
Temporary fix
Comments
APAR Information
APAR number
IJ41549
Reported component name
OPENJDK CLASS L
Reported component ID
621800100
Reported release
B00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-08-04
Closed date
2022-09-21
Last modified date
2022-09-21
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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
22 September 2022