RFR: 8293122: (fs) Use file cloning in macOS version of Files::copy method [v5]

Alan Bateman alanb at openjdk.org
Wed Sep 14 13:43:29 UTC 2022


On Tue, 13 Sep 2022 17:39:44 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Use BSD system call `clonefile` if possible when using `Files::copy` on macOS.
>
> Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge
>  - 8293122: Move rollback unlink to copyFile method
>  - 8293122: remove volatile cloneFileNotSupported; unlink target on failure; remove getattrlist
>  - 8293122: Revert BsdFileStore; move volume capability check to BsdNativeDispatcher
>  - 8293122: (fs) Use file cloning in macOS version of Files::copy method

Marked as reviewed by alanb (Reviewer).

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

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


More information about the nio-dev mailing list