IBM Support

IV82165: FILE PATHS AND SYSTEM PROPERTIES CONTAINING UNICODE ESCAPE SEQUE NCES CORRUPTED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java -classpath C:\Users\u1234\libs HelloWorld
    Error: Could not find or load main class HelloWorld
    or
    java -Dfoo=\u0058 ...
    system property "foo" is set to "X" (Unicode code point 0x58) in
    the application.
    .
    Stack Trace: N/A
    .
    Problem occurs only on Windows.  Class paths are corrupted if
    the directory or file name starts with 'udddd' (where "d" is a
    decimal digit), or a system property contains "\udddd".
    

Local fix

Problem summary

  • The Java VM misinterprets system properties set via the launcher
    or JNI Invocation API,
    including search paths, containing "\udddd" on Windows
    as a Unicode escape sequence.
    System properties set from Java code are not affected.
    

Problem conclusion

  • The Java VM command line processing code has been changed to
    translate Unicode escape sequences only if the
    "-Xargencoding" option (without encoding specifiers) is used.
    This matches the behaviour of the Java VM prior to Java 7.1.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR3 FP40  (7.1.3.40)
       8    SR3       (8.0.3.0)
    .
    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

    IV82165

  • 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-03-04

  • Closed date

    2016-03-04

  • Last modified date

    2016-03-04

  • 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:
21 February 2022