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

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

XMLWordPrintable

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


        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.

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

                Created:
                Updated:
                Resolved: