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

Brian Burkhalter bpb at openjdk.java.net
Thu Jul 29 23:17:46 UTC 2021


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.

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

Commit messages:
 - 8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call

Changes: https://git.openjdk.java.net/jdk/pull/4940/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4940&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271308
  Stats: 197 lines in 4 files changed: 178 ins; 10 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4940.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4940/head:pull/4940

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


More information about the nio-dev mailing list