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

Brian Burkhalter bpb at openjdk.org
Wed Nov 19 20:13:42 UTC 2025


> 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: Change FAEE for CREATE_NEW cases

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28378/files
  - new: https://git.openjdk.org/jdk/pull/28378/files/9cf6ede5..3684b8c7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28378&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28378&range=04-05

  Stats: 7 lines in 1 file changed: 0 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/28378.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28378/head:pull/28378

PR: https://git.openjdk.org/jdk/pull/28378


More information about the nio-dev mailing list