RFR: 6980847: (fs) Files.copy needs to be tuned [v7]
Brian Burkhalter
bpb at openjdk.org
Wed Jun 22 14:56:43 UTC 2022
On Wed, 22 Jun 2022 06:46:28 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 6980847: Cleanup
>
> src/java.base/windows/classes/sun/nio/fs/WindowsFileCopy.java line 182:
>
>> 180: long size = 0;
>> 181: try {
>> 182: size = Files.size(source);
>
> Are you going to change this to use sourceAttrs.size() ?
I did previously but this code crept back in as it was in a different patch version.
-------------
PR: https://git.openjdk.org/jdk/pull/9161
More information about the nio-dev
mailing list