[jdk17] RFR: 8269074: (fs) Files.copy fails to copy from /proc on some linux kernel versions

Alan Bateman alanb at openjdk.java.net
Wed Jun 23 18:24:44 UTC 2021


On Wed, 23 Jun 2021 17:33:58 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> On Linux, if while executing `java.nio.file.Files.copy(Path,Path,CopyOption...)` the native function `sendfile(2)` fails with `EINVAL`, fall back to transferring via user-space buffers.

Marked as reviewed by alanb (Reviewer).

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

PR: https://git.openjdk.java.net/jdk17/pull/128


More information about the nio-dev mailing list