IZ65534: 'JAVA.LANG.CLASSFORMATERROR' ERROR FOR A VALID IDENTIFIER

时间:2023-05-03 10:58:20

PAR status

  • Closed as program error.

Error description

  • Error Message: The java class could not be loaded.
    java.lang.ClassFormatError: (Field) field name is invalid at
    offset=0.
    .
    Stack Trace: N/A
    .
    N/A

Local fix

  • N/A
    

Problem summary

  • Error 'java.lang.ClassFormatError' is thrown by the JVM for a
    valid identifier during class verification. Validation of the
    identifier is done using Character.isJavaIdentifierPart(ch).This
    API returns true for the identifier which adheres to the JVM
    specification for naming convention of the class,methods or
    fields. However an error in the class verifier results in the
    above exception being thrown.

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR12
    .
    The JVM class verifier code has been fixed to correctly classify
    the characters in identifiers according to whether they are
    valid in class names, method names, or fields.
    .
    To obtain the fix:
    Install build 20091117 or later

Temporary fix

Comments

APAR Information

  • APAR number

    IZ65534

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-24

  • Closed date

    2009-11-24

  • Last modified date

    2010-07-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

  • Fixed component name

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSN

    UP