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

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

XMLWordPrintable

    • b25
    • Verified

        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

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

                Created:
                Updated:
                Resolved: