RFR: 8264744: (fc, fs) Support file cloning in Unix versions of FileChannel transfer and Files copy methods

Brian Burkhalter bpb at openjdk.org
Thu Jul 14 17:23:44 UTC 2022


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

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

Commit messages:
 - 8264744: (fc, fs) Support file cloning in Unix versions of FileChannel transfer and Files copy methods

Changes: https://git.openjdk.org/jdk/pull/9486/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9486&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8264744
  Stats: 288 lines in 4 files changed: 279 ins; 3 del; 6 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