RFR: 8321561: (fs) Add an API note to Files.move clarifying possible non-atomic behavior

Brian Burkhalter bpb at openjdk.org
Mon Dec 11 16:36:23 UTC 2023


Make it clear that a `FileAlreadyExistsException` may be thrown by `Files.move` even if the `REPLACE_EXISTING` option is specified.

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

Commit messages:
 - 8321561: (fs) Add an API note to Files.move clarifying possible non-atomic behavior

Changes: https://git.openjdk.org/jdk/pull/17061/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17061&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321561
  Stats: 9 lines in 1 file changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17061.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17061/head:pull/17061

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


More information about the nio-dev mailing list