RFR: 8114830: (fs) Files.copy fails due to interference from something else changing the file system

Brian Burkhalter bpb at openjdk.org
Thu Aug 3 16:57:29 UTC 2023


On Thu, 3 Aug 2023 16:20:02 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Throw a `FileSystemException` if attempting to create the target file with `O_EXCL` fails with `EEXIST`.

The same problem occurs for directories. Investigating other cases and will update this PR as needed.

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

PR Comment: https://git.openjdk.org/jdk/pull/15141#issuecomment-1664322424


More information about the nio-dev mailing list