RFR of 8180451: ByteArrayInputStream should override readAllBytes, readNBytes, and transferTo

Brian Burkhalter brian.burkhalter at oracle.com
Mon Dec 11 20:47:13 UTC 2017


https://bugs.openjdk.java.net/browse/JDK-8180451
http://cr.openjdk.java.net/~bpb/8180451/webrev.00

1. Add overrides of readAllBytes(), readNBytes(), and transferTo().
2. Simplify parameter checks in read(byte[],int,int).
3. Change <code>foo</code> to {@code foo}.

Thanks,

Brian


More information about the core-libs-dev mailing list