[jdk17] RFR: 6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF [v2]
Brian Burkhalter
bpb at openjdk.java.net
Fri Jul 2 16:58:18 UTC 2021
> Modify the specification of `java.io.ByteArrayInputStream#read(byte[],int,int)` to indicate that `-1` is returned instead of `0` when the stream is at its end and the third parameter, `len`, is zero.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
6766844: Correct error messages in test
-------------
Changes:
- all: https://git.openjdk.java.net/jdk17/pull/189/files
- new: https://git.openjdk.java.net/jdk17/pull/189/files/5b89ab60..528afc5f
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=189&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=189&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk17/pull/189.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/189/head:pull/189
PR: https://git.openjdk.java.net/jdk17/pull/189
More information about the core-libs-dev
mailing list