RFR 4358774: Add null InputStream and OutputStream

Patrick Reinhart patrick at reini.net
Sat Dec 9 21:28:27 UTC 2017


Hi Brian,

> All previous suggested changes have been made in
> 
> http://cr.openjdk.java.net/~bpb/4358774/webrev.03/
> 

  99             @Override
 100             public int read(byte[] b, int off, int len) throws IOException {
 101                 Objects.checkFromIndexSize(off, len, b.length);

Should not be checked for a null byte buffer b here?

-Patrick


More information about the core-libs-dev mailing list