RFR: 8303260: (fc) FileChannel::transferFrom should support position > size() [v4]

Brian Burkhalter bpb at openjdk.org
Wed Mar 29 00:01:22 UTC 2023


> Enhance `FileChannel::transferFrom` to extend the channel's file if `position > size()`. This is consistent with `FileChannel::write(ByteBuffer, long)`.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8303260: Increment copyright year

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12797/files
  - new: https://git.openjdk.org/jdk/pull/12797/files/085746fa..27aa2a36

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12797&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12797&range=02-03

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12797.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/12797/head:pull/12797

PR: https://git.openjdk.org/jdk/pull/12797


More information about the nio-dev mailing list