Integrated: 8303260: (fc) FileChannel::transferFrom should support position > size()
Brian Burkhalter
bpb at openjdk.org
Tue Apr 4 16:02:23 UTC 2023
On Wed, 1 Mar 2023 01:34:33 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Enhance `FileChannel::transferFrom` to extend the channel's file if `position > size()`. This is consistent with `FileChannel::write(ByteBuffer, long)`.
This pull request has now been integrated.
Changeset: 7baccd9e
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7baccd9ee24bcbc2ca5e449d8d3e5b80860cc088
Stats: 178 lines in 3 files changed: 165 ins; 2 del; 11 mod
8303260: (fc) FileChannel::transferFrom should support position > size()
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/12797
More information about the nio-dev
mailing list