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

Brian Burkhalter bpb at openjdk.java.net
Wed Oct 6 19:29:29 UTC 2021


On Wed, 6 Oct 2021 00:00:00 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`.

V1 moves the logic up to the Java level and removes all native code changes.

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

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


More information about the nio-dev mailing list