RFR: 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable [v2]

Brian Burkhalter bpb at openjdk.org
Tue Sep 5 16:54:38 UTC 2023


On Fri, 1 Sep 2023 05:57:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> So checking it to use provider.checkAccess is right as that will just check file access.

Here I think you must've intended `access()` and not `checkAccess()`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15501#discussion_r1316150645


More information about the nio-dev mailing list