IBM Support

PM19836: JAVA CLASSPATH WILDCARD (*) EXPANSION PROBLEMS ON Z/OS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Classpath splat (*) expansion is limited to 6125 characters.
    
    KEYWORDS
    java.class.path
    asterisk
    

Local fix

  • N/A
    

Problem summary

  • In JDK on zOS platform, sprintf() is redefined to
    atoe_sprintf() to do the ASCII to EBCDIC conversion. The
    atoe_sprintf() uses a 6144 size fixed work buffer and as a
    result the class path is truncated after 6125 characters.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9 FP2
    .
    Modified the JVM to dynamically allocate the work buffer when
    the class path is greater than 6125 characters.
    

Temporary fix

  • Work around:
    
    If ClassNotFoundException is thrown from the application due to
    truncated class path, keep the corresponding jars in the
    beginning of the class path.
    
    Caution: This work around does not eliminate the problem
    completely as some other classes can go out of class path scope
    while redefining the class path.
    

Comments

APAR Information

  • APAR number

    PM19836

  • Reported component name

    JAVA 6 Z/OS 31

  • Reported component ID

    620700105

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-08-04

  • Closed date

    2010-12-10

  • Last modified date

    2011-07-09

  • 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

    JAVA 6 Z/OS 31

  • Fixed component ID

    620700105

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB16","label":"Mainframe HW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 August 2022