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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: