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

Brian Burkhalter bpb at openjdk.java.net
Fri Oct 8 18:43:30 UTC 2021


> 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: Change logic to use WRITEV_MAX

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5831/files
  - new: https://git.openjdk.java.net/jdk/pull/5831/files/6da2c82e..f03fc290

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5831&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5831&range=03-04

  Stats: 95 lines in 4 files changed: 70 ins; 21 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5831.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5831/head:pull/5831

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


More information about the nio-dev mailing list