IBM Support

IV78220: JAVA.IO.IOEXCEPTION WHILE CREATING A TEMPORARY FILE ON JAVA 6

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.io.IOException: Unable to create temporary
    file
    at java.io.File.generateFile(File.java:1702)
    at java.io.File.createTempFile0(File.java:1723)
    at java.io.File.createTempFile(File.java:1850)
    .
    

Local fix

Problem summary

  • java.io.IOException while creating a temporary file with the API
    File.generateFile() with prefix as ?/foo? on Java6. Refer to
    OpenJDK Bug JDK-8025128.
    

Problem conclusion

  • With the fix API File.generateFile() called with prefix '/foo'
    creates a file in the current directory with base name as 'foo'.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP20 (6.0.16.20)
       6 R1 SR8 FP20  (6.1.8.20)
    .
    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

    IV78220

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-21

  • Closed date

    2015-12-30

  • Last modified date

    2015-12-30

  • 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

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
30 December 2015