IBM Support

IV75739: JAVA.NET.MALFORMEDURLEXCEPTION WHEN SYSTEM PROPERTY 'JAVA.SYSTE M.CLASS.LOADER' IS DEFINED.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.net.MalformedURLException: unknown protocol:
    myprot
    at java.net.URL.<init>(URL.java:605)
    at java.net.URL.<init>(URL.java:495)
    at java.net.URL.<init>(URL.java:444)
    at com.mypackage.Main.doIt(Main.java:36)
    at com.mypackage.Main.main(Main.java:22)
    .
    Typically, the class path class loader is the system class
    loader; however, this is not the case when the
    java.system.class.loader property is used.
    When this property is used, the JVM creates the class path class
    loader and then uses this class loader to instantiate the class
    identified by the java.system.class.loader property. This new
    class loader instance then becomes the system class loader.
    This instance will be the value returned by
    ClassLoader.getSystemClassLoader() and we assert that this
    instance, as the system class loader, should be the class loader
    used to load the classes identified by
    java.protocol.handler.pkgs.
    

Local fix

  • N/A
    

Problem summary

  • The problem use to happen as the classes identified by
    java.protocol.handler.pkgs system property use to get loaded
    with Application classloader even when java.system.class.loader
    system property is defined.
    

Problem conclusion

  • The JDK code has been updated to make use of System classloader
    instead of Application classloader to load the classes
    identified by java.protocol.handler.pkgs system property.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2       (8.0.2.0)
       7    SR9 FP20  (7.0.9.20)
       6    SR16 FP15 (6.0.16.15)
       7 R1 SR3 FP20  (7.1.3.20)
       6 R1 SR8 FP15  (6.1.8.15)
    .
    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

    IV75739

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-08-04

  • Closed date

    2015-09-09

  • Last modified date

    2015-09-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 CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

  • R700 PSY

       UP

  • R600 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 800

Reference #: IV75739

Modified date: 09 September 2015