IBM Support

IV90164: JAVA LAUNCHER FAILS TO LAUNCH JAVA APPLICATION IF THE PATH HAS UNICODE SUPPLEMENTARY CHARACTERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.IllegalArgumentException: Error
    decoding percent encoded characters
    .
    Stack Trace: Exception in thread "main"
    java.lang.IllegalArgumentException: Error decoding percent
    encoded characters
       at sun.net.www.ParseUtil.decode(ParseUtil.java:228)
       at
    sun.misc.URLClassPath$FileLoader.<init>(URLClassPath.java:1308)
       at
    sun.misc.URLClassPath$3.rtFileLoader(URLClassPath.java:579)
       at sun.misc.URLClassPath$3.run(URLClassPath.java:560)
       at sun.misc.URLClassPath$3.run(URLClassPath.java:555)
       at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:650)
       at sun.misc.URLClassPath.getLoader(URLClassPath.java:554)
       at sun.misc.URLClassPath.getLoader(URLClassPath.java:512)
       at sun.misc.URLClassPath.getResource(URLClassPath.java:337)
       at
    java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1180
    )
       at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:686)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:602
    .
    

Local fix

Problem summary

  • DK UTF-8 implementation has been changed  to strictly follow the
    standard to reject high and low surrogate pair  characters on
    decode. As per this change in specification ,if the java path
    has unicode supplementary characters   ParseUtil Decoder is
    treating these  characters as malformed characters and resulting
    in   java.lang.IllegalArgumentException.
    

Problem conclusion

  • ParseUtil.decode  has been updated to handle unicode
    supplementary  characters.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3 FP22  (8.0.3.22)
    .
    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

    IV90164

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-19

  • Closed date

    2016-12-05

  • Last modified date

    2017-03-17

  • 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

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

Document Information

Modified date:
21 February 2022