RFR: 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable [v3]
Brian Burkhalter
bpb at openjdk.org
Thu Sep 7 16:18:45 UTC 2023
On Thu, 7 Sep 2023 16:14:57 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> But the existing target would be deleted after line 928 before rename() is called.
>
> Okay, you're right but I'm not 100% sure that the mode is right, I assumed it would be R_OK.
I will investigate the mode.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15501#discussion_r1318848066
More information about the nio-dev
mailing list