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

Brian Burkhalter bpb at openjdk.java.net
Wed Oct 6 21:07:35 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: Remove setting position which is not needed due to using absolute put

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5831/files
  - new: https://git.openjdk.java.net/jdk/pull/5831/files/6a9116b6..1d41dfbb

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

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 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