On Fri, 13 Aug 2021 19:20:48 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

>> Please consider this request to add an override 
>> `java.io.FileInputStream.transferTo(OutputStream)` with improved performance 
>> if the parameter is a `FileOutputStream`.
>
> Brian Burkhalter has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8272297: Remove unneeded check of position and couunt

src/java.base/share/classes/java/io/FileInputStream.java line 373:

> 371:         }
> 372:         return transferred + super.transferTo(out);
> 373:     }

Good, I think this version is right.

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

PR: https://git.openjdk.java.net/jdk/pull/5097

Reply via email to