IBM Support

IV33470: UNDER CERTAIN ERROR CONDITIONS, JAVA.LANG.CLASSFORMATERROR DOESN'T PROVIDE THE NAME OF THE INVALID CLASS.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: Exception in thread "main"
    java.lang.ClassFormatError
    .
    Stack Trace: Exception in thread "main"
    java.lang.ClassFormatError
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:294)
    at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
    va:143)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:700)
    at java.net.URLClassLoader.access$400(URLClassLoader.java:81)
    at
    java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1148
    )
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:314)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:583)
    at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:742)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:710)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:313)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:689)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:139)
    at test.main(test.java:3)
    .
    

Local fix

Problem summary

  • java.lang.ClassFormatError doesn't provide sufficient
    information to identify the invalid classfile in all situations.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR4
    6.0.1 SR5
    6.0.0 SR13
    .
    The JVM has been updated to always provide the name of invalid
    classfile
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV33470

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-13

  • Closed date

    2012-12-13

  • Last modified date

    2013-02-06

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

  • R600 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Virtual Machine

Software version: 260

Reference #: IV33470

Modified date: 06 February 2013