RFR: 6980847: (fs) Files.copy needs to be tuned [v7]
Brian Burkhalter
bpb at openjdk.org
Wed Jun 22 16:00:45 UTC 2022
On Wed, 22 Jun 2022 14:53:21 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> 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.
Fixed in 406656e254004113f80bb36351db6662ad01a8f9.
-------------
PR: https://git.openjdk.org/jdk/pull/9161
More information about the nio-dev
mailing list