IBM Support

IJ43827: JAVA/IO/FILE.EXISTS() RETURNS FALSE FOR EXTERNAL LINKS ON Z/OS

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: The java/io/File.exists() API method wrongly
    returns false for existent external link files, on z/OS.
    .
    Stack Trace:
    .
    On z/OS, external links are defined as symbolic links to MVS
    datasets, that reside outside of the Unix filesystem.
    

Local fix

Problem summary

  • On Unix systems, the java/io/File.exists() API method depends on
    the stat() system call, which fails for external link files on
    z/OS, which in turn causes the exists() method to return false.
    

Problem conclusion

  • The implementation of java/io/File.exists() has been updated to
    handle external links on z/OS.
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtime Certified Edition
       11              11.0.17.0
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    maintenance can be found at:
               https://www.ibm.com/support/pages/java-sdk
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ43827

  • Reported component name

    OPENJDK CLASS L

  • Reported component ID

    621800100

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-14

  • Closed date

    2022-11-23

  • Last modified date

    2022-11-23

  • 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

    OPENJDK CLASS L

  • Fixed component ID

    621800100

Applicable component levels

[{"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:
24 November 2022