RFR: 8220816: (fs) Files.createDirectory should make it more obvious that it fails when the directory already exists [v5]

Brian Burkhalter bpb at openjdk.org
Wed Nov 19 20:04:39 UTC 2025


On Wed, 19 Nov 2025 19:17:18 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: Address more review comments

> If you have cycles, there are 7 cases [...] that could be improved [...]

Yes, I will change them.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28378#issuecomment-3554420000


More information about the nio-dev mailing list