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

Alan Bateman alanb at openjdk.java.net
Wed Jun 23 05:52:29 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

Thanks, I think version is much clearer. I think we need to decide whether this change should go to openjdk/jdk or openjdk/jdk17. Technically this is a regression in JDK 17.

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

Marked as reviewed by alanb (Reviewer).

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


More information about the nio-dev mailing list