git: openjdk/jdk17u: master: 8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call

Alex Kasko akasko at openjdk.java.net
Fri Nov 19 14:26:21 UTC 2021


Changeset: 55f8d8c6
Author:    Alex Kasko <akasko at openjdk.org>
Date:      2021-11-19 14:25:07 +0000
URL:       https://git.openjdk.java.net/jdk17u/commit/55f8d8c6bfed8c302896ff23c4e76c22bb75d557

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

Backport-of: e2c5bfe083adb82c0d99ba3cb05a9d5cdb8a05cc

! src/java.base/share/classes/sun/nio/ch/FileChannelImpl.java
! src/java.base/unix/native/libnio/ch/FileChannelImpl.c
! src/java.base/windows/native/libnio/ch/FileChannelImpl.c
+ test/jdk/java/nio/channels/FileChannel/Transfer2GPlus.java



More information about the jdk-updates-changes mailing list