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

Brian Burkhalter bpb at openjdk.java.net
Tue Oct 12 15:29:57 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`.

This pull request has now been integrated.

Changeset: 07b1f1c2
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/07b1f1c282ee0a7df6a6b0f240962a032ea3a413
Stats:     173 lines in 4 files changed: 169 ins; 1 del; 3 mod

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

Reviewed-by: alanb

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

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


More information about the nio-dev mailing list