RFR: 8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call [v4]

Vyom Tewari vtewari at openjdk.java.net
Thu Aug 5 06:21:29 UTC 2021


On Wed, 4 Aug 2021 17:14:00 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Please consider this request to enhance `java.nio.channels.FileChannel.transferTo()` to be able to transfer more than `Integer.MAX_VALUE` bytes in one call.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8271308: Fix static initialization order problem

Looks good, much better than calling  "maxTransferSize0()"  to in "transferTo" method.

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

Marked as reviewed by vtewari (Committer).

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


More information about the nio-dev mailing list