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

Brian Burkhalter bpb at openjdk.org
Mon Apr 3 18:27:58 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: Address reviewer comments

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

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

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

  Stats: 23 lines in 2 files changed: 5 ins; 4 del; 14 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