Withdrawn: 6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF
Brian Burkhalter
bpb at openjdk.java.net
Wed Jun 30 23:18:09 UTC 2021
On Fri, 25 Jun 2021 00:04:48 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Modify `java.io.ByteArrayInputStream` methods `read(byte[])` and `read(byte[],int,int)` to return zero per the `InputStream` specification when the byte array actual or specified length is zero.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4591
More information about the core-libs-dev
mailing list