Integrated: 8220816: (fs) Files.createDirectory should make it more obvious that it fails when the directory already exists
Brian Burkhalter
bpb at openjdk.org
Mon Dec 1 17:01:28 UTC 2025
On Tue, 18 Nov 2025 17:41:24 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.
This pull request has now been integrated.
Changeset: 002fff39
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/002fff39aace870b27a9068de1662fcb0b3033a6
Stats: 27 lines in 1 file changed: 4 ins; 0 del; 23 mod
8220816: (fs) Files.createDirectory should make it more obvious that it fails when the directory already exists
Reviewed-by: alanb, jpai
-------------
PR: https://git.openjdk.org/jdk/pull/28378
More information about the nio-dev
mailing list