RFR: 8264744: (fs) Use file cloning in Linux and macOS versions of FileChannel transfer and Files copy methods [v8]

Brian Burkhalter bpb at openjdk.org
Mon Aug 15 18:35:13 UTC 2022


> Add file cloning to `java.nio.channels.FileChannel::transferTo` and `java.nio.file.Files.copy(Path,Path)`.

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

  8264744: Add mode to clone() and other requested changes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9486/files
  - new: https://git.openjdk.org/jdk/pull/9486/files/7618c1d9..2157a148

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9486&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9486&range=06-07

  Stats: 108 lines in 6 files changed: 35 ins; 40 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/9486.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9486/head:pull/9486

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


More information about the nio-dev mailing list