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

Vyom Tewari vtewari at openjdk.java.net
Fri Jun 25 04:04:00 UTC 2021


On Thu, 24 Jun 2021 23:26:28 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: Also fall back to user space buffer for ENOSYS from sendfile(2)

Looks OK to me.

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

Marked as reviewed by vtewari (Committer).

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


More information about the nio-dev mailing list