RFR: 8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6 [v3]
Alan Bateman
alanb at openjdk.java.net
Thu Oct 7 07:03:13 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
The latest version impacts all platforms. I think the first step here is to make contact with Apple and try to detect if this is an intended change in macOS 11.6 or not. The observation that they reverted it again in macOS 12 beta suggests it was unintentional but I think we need to find out more.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5831
More information about the nio-dev
mailing list