RFR: 8375294: (fs) Files.copy can fail with EOPNOTSUPP when copy_file_range not supported
Brian Burkhalter
bpb at openjdk.org
Thu Jan 15 17:19:14 UTC 2026
On Wed, 14 Jan 2026 18:26:52 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Handle `errno` value `EOPNOTSUPP` for `copy_file_range` system call on Linux.
Man page of [copy_file_range(2)](https://www.man7.org/linux/man-pages/man2/copy_file_range.2.html).
The submitter verified the patch so I think we can go with this.
Thanks for the comments.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29234#issuecomment-3755990193
More information about the nio-dev
mailing list