RFR: 8367943: PipedOutputStream write(0, 0) successful after close()
Brian Burkhalter
bpb at openjdk.org
Thu Oct 30 23:47:16 UTC 2025
Update the specification of `java.io.PipedOutputStream.write(byte[],int,int)` to match longstanding behavior. Add a verification to an existing test.
-------------
Commit messages:
- 8367943: PipedOutputStream write(0, 0) successful after close()
Changes: https://git.openjdk.org/jdk/pull/28078/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28078&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8367943
Stats: 19 lines in 2 files changed: 8 ins; 3 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/28078.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28078/head:pull/28078
PR: https://git.openjdk.org/jdk/pull/28078
More information about the core-libs-dev
mailing list