RFR: 8264744: (fs) Use file cloning in Linux and macOS versions of FileChannel transfer and Files copy methods [v5]
Brian Burkhalter
bpb at openjdk.org
Mon Aug 8 16:28:20 UTC 2022
On Mon, 8 Aug 2022 12:59:11 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I skimmed the latest patch and I think the main thing that still needs to be worked out is how to integtrate "clonefile". Right now the current prototype adds sun.nio.fs.CloneFile but that doesn't fit into the provider architecture. [...]
I don't like this approach that much either but is better than two prior versions I did not publish which respectively used a singleton version of `UnixCopyFile` and a `FunctionalInterface` for `clonefile`.
-------------
PR: https://git.openjdk.org/jdk/pull/9486
More information about the nio-dev
mailing list