RFR: 8325302: Files.move(REPLACE_EXISTING) throws NoSuchFileException on deleted target

Alan Bateman alanb at openjdk.org
Wed Feb 7 07:39:54 UTC 2024


On Wed, 7 Feb 2024 00:28:25 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> When replacing an existing file as part of a non-atomic copy (`Files.copy`) or move (`Files.move`), ignore any file not found error encountered while trying to delete the target file.

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/17740#pullrequestreview-1867074735


More information about the nio-dev mailing list