IBM Support

IV71947: INCORRECT CONVERSIONS BETWEEN JAVA.NET.URI AND JAVA.NIO.FILE.PATH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The java.net.URI object returned by
    java.nio.file.Path.toUri() is incorrect. Consequently,the
    java.nio.Path object created using the URI through the
    java.nio.Path.get(URI) is also incorrect.
    
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • The java.nio.file.Path.toUri() returns an incorrect URI for file
    paths comprising of multi-byte characters. The round-trip
    guarantee provided by the toUri() specification to the
    java.io.File class is violated.
    

Problem conclusion

  • The related classes code has been updated to do the proper
    conversion in all the cases.
    .
    This APAR will be fixed in the following Java Releases:
    7 SR9 FP20 (7.0.9.20)
    7 R1 SR3 FP20 (7.1.3.20)
    8 SR2 (8.0.2.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
    https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV71947

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-07

  • Closed date

    2015-07-22

  • Last modified date

    2017-04-02

  • 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

  • R700 PSY

       UP

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

Document Information

Modified date:
21 February 2022