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 16:27:12 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
Not affecting all platforms is why it was in the C code in the first place.
Apple indicates it was an intentional change in macOS 11.x where x >= 0. I don't know yet about 12.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5831
More information about the nio-dev
mailing list