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

Brian Burkhalter bpb at openjdk.java.net
Wed Jun 23 15:38:27 UTC 2021


On Tue, 22 Jun 2021 18:59:54 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.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8269074: Minor restructuring

I think it should go into JDK 17 either directly or by backport.

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

PR: https://git.openjdk.java.net/jdk/pull/4543


More information about the nio-dev mailing list