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

Files.createDirectories throws exception with confusing message for root directories that exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-libs
    • None
    • b02

    Backports

      Description


        This issue came up on nio-discuss:
          http://mail.openjdk.java.net/pipermail/nio-discuss/2014-January/000710.html

        On OS X it appears to be caused by the underlying mkdir failing with EISADIR and this not translated into a FileAlreadyExistsException.

        On Windows it appears to be caused by the underlying CreateDIrectory failing with an access denied error.

        It does not appear to be an issue on Linux.

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: