RFR: 8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6 [v3]
Brian Burkhalter
bpb at openjdk.java.net
Thu Oct 7 17:18:07 UTC 2021
On Wed, 6 Oct 2021 21:07:35 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: Remove setting position which is not needed due to using absolute put
My original evaluation on macOS 12-beta was incorrect: I re-tested and the problem occurs there as well. Therefore we are seeing it on `macOS x.y.z` where `x >= 11`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5831
More information about the nio-dev
mailing list