RFR: 8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException [v2]
Brian Burkhalter
bpb at openjdk.org
Mon Oct 2 18:51:05 UTC 2023
On Sat, 30 Sep 2023 06:24:25 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8317128: Remove replaceExistingOrEmpty method
>
> src/java.base/share/classes/java/nio/file/CopyMoveHelper.java line 150:
>
>> 148: Files.createDirectory(target);
>> 149: } else {
>> 150: try (InputStream in = Files.newInputStream(source)) {
>
> If we are you reverting that then I assume you also should revert the change to L147 too, meaning replaceExistingOrEmpty() isn't needed now.
`replaceExistingOrEmpty()` removed in 4a34ff3b36bbcbd43139f7888ac4d953ecef91da.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15991#discussion_r1343030243
More information about the nio-dev
mailing list