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

Files.createDirectories throws FileAlreadyExistsException for a symbolic link whose target is an existing directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 11, 17, 19
    • core-libs
    • None
    • b17

    Description

      As noted in https://bugs.openjdk.org/browse/JDK-8293792, if Files.createDirectories(...) is called with a Path which is a symbolic link to a directory then the method unexpectedly throws FileAlreadyExistsException.

      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: