Integrated: 8325302: Files.move(REPLACE_EXISTING) throws NoSuchFileException on deleted target
Brian Burkhalter
bpb at openjdk.org
Wed Feb 7 19:04:57 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.
This pull request has now been integrated.
Changeset: 299a8ee6
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/299a8ee68d2dc433fa4b7ad14e2518aebab4cfac
Stats: 24 lines in 2 files changed: 14 ins; 2 del; 8 mod
8325302: Files.move(REPLACE_EXISTING) throws NoSuchFileException on deleted target
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/17740
More information about the nio-dev
mailing list