IBM Support

IV90548: CLASSLOADER.GETSYSTEMCLASSLOADER() SHOWS INCORRECT CAUSE WHEN THROWING JAVA/LANG/ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: JVMJ9VM015W Initialization error for library
    jclse7b_28(14): JVMJ9VM009E J9VMDllMain failed
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    .
    Stack Trace: MyClassEgException in thread "main"
    java/lang/Error: java.lang.reflect.InvocationTargetException
        at java/lang/ClassLoader.getSystemClassLoader
        at java/lang/Thread.completeInitialization
        at java/lang/J9VMInternals.completeInitialization
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • This is caused by getSystemClassLoader() incorrectly showing the
    java.lang.reflect.InvocationTargetException as the cause of
    java/lang/Error where java.security.AccessControlException is
    the actual cause.
    

Problem conclusion

  • ClassLoader.getSystemClassLoader() is updated to throw
    java/lang/Error with the correct cause
    java.security.AccessControlException
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3 FP21  (8.0.3.21)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV90548

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-11-07

  • Closed date

    2016-11-07

  • Last modified date

    2016-11-07

  • 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

  • R270 PSY

       UP

[{"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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022