RFR: 8220816: (fs) Files.createDirectory should make it more obvious that it fails when the directory already exists [v2]
Brian Burkhalter
bpb at openjdk.org
Tue Nov 18 22:09:17 UTC 2025
On Tue, 18 Nov 2025 17:53:51 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Slightly changes the specification of `Files.createDirectory` to highlight that it fails if a filesystem entity already exists at the given location.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8220816: "directory" -> "file or directory"
Please note that this was discussed before on [nio-dev](https://mail.openjdk.org/pipermail/nio-dev/2020-January/007008.html).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28378#issuecomment-3549622422
More information about the nio-dev
mailing list