RFR: 8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6 [v5]

Brian Burkhalter bpb at openjdk.java.net
Fri Oct 8 18:50:12 UTC 2021


On Fri, 8 Oct 2021 18:43:30 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> On macOS, handle the case where `writev()` is given an array of `struct iovec` the sum of whose `iov_len` fields overflows `INT_MAX`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8274548: Change logic to use WRITEV_MAX

v4 was verified to pass the test included in this PR on Linux-aarch64, Linux-x64, macOS 10.15.7 and 11.6, and Windows (Server 2016).

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

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


More information about the nio-dev mailing list