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

Brian Burkhalter bpb at openjdk.java.net
Fri Jun 25 19:10:07 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.

This pull request has now been integrated.

Changeset: 5ebed06e
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/5ebed06e8ae27ca73433497b4e4aa559d06ed8ec
Stats:     68 lines in 1 file changed: 38 ins; 28 del; 2 mod

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

Reviewed-by: alanb, vtewari

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

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


More information about the nio-dev mailing list