RFR: 8375294: (fs) Files.copy can fail with EOPNOTSUPP when copy_file_range not supported

Brian Burkhalter bpb at openjdk.org
Wed Jan 14 18:35:06 UTC 2026


Handle `errno` value `EOPNOTSUPP` for `copy_file_range` system call on Linux.

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

Commit messages:
 - 8375294: (fs) Files.copy can fail with EOPNOTSUPP when copy_file_range not supported

Changes: https://git.openjdk.org/jdk/pull/29234/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29234&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375294
  Stats: 5 lines in 2 files changed: 2 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/29234.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29234/head:pull/29234

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


More information about the nio-dev mailing list