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

Alex Kasko akasko at openjdk.java.net
Mon Nov 15 22:35:57 UTC 2021


Clean backport of the FileChannel fix.

Additional testing:

 - [x] checked that added test is failing without the patch
 - [x] ran jtreg:java/nio/channels/FileChannel on Linux, Windows and Mac

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

Commit messages:
 - Backport e2c5bfe083adb82c0d99ba3cb05a9d5cdb8a05cc

Changes: https://git.openjdk.java.net/jdk17u/pull/265/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=265&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271308
  Stats: 186 lines in 4 files changed: 170 ins; 3 del; 13 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/265.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/265/head:pull/265

PR: https://git.openjdk.java.net/jdk17u/pull/265


More information about the jdk-updates-dev mailing list