Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8290313

Produce warning when user specified java.io.tmpdir directory doesn't exist

    XMLWordPrintable

Details

    • b25
    • Verified

    Backports

      Description

        submitter hit an error in use of the java.io.File.createTempFile API - following exception produced:

        java.io.IOException: No such file or directory
                at java.io.UnixFileSystem.createFileExclusively(Native Method)
                at java.io.File.createTempFile(File.java:2001)
                at java.io.File.createTempFile(File.java:2047)

        turns out that they had supplied a bad, non-existent, directory for the 'java.io.tmpdir' system property

        We should investigate if any hint of this can be passed to end user exception

        Attachments

          Issue Links

            Activity

              People

                wxiao Weibing Xiao
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: