RFR: 8293792: runtime/Dictionary/ProtectionDomainCacheTest.java fails with FileAlreadyExistsException: /tmp
Jie Fu
jiefu at openjdk.org
Wed Sep 14 10:53:38 UTC 2022
On Wed, 14 Sep 2022 10:47:18 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> I could reproduce the issue with `Files.createDirectories` on a macos with a trivial program. It appears to be because of the use of `NOFOLLOW_LINKS` here https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/nio/file/Files.java#L808. To me this appears to be something that either needs to be clarified in the the `Files.createDirectories` API or addressed/fixed there. I have asked for inputs on this from others who have more knowledge of this area.
Okay, thanks @jaikiran .
-------------
PR: https://git.openjdk.org/jdk/pull/10266
More information about the core-libs-dev
mailing list