RFR: 4670339: (ch) Channels.newChannel(OutputStream) should flush stream on every write [v2]

Brian Burkhalter bpb at openjdk.org
Tue Mar 28 17:06:39 UTC 2023


> Call `flush()` on the `OutputStream` before returning from `WritableByteChannelImpl::write`.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  4670339: Make WritableByteChannelImpl Flushable; add newChannel(OutputStream,boolean)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13198/files
  - new: https://git.openjdk.org/jdk/pull/13198/files/009c022d..9967977e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13198&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13198&range=00-01

  Stats: 45 lines in 2 files changed: 35 ins; 2 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/13198.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13198/head:pull/13198

PR: https://git.openjdk.org/jdk/pull/13198


More information about the nio-dev mailing list