RFR 4358774: Add null InputStream and OutputStream (original) (raw)
Patrick Reinhart patrick at reini.net
Sat Dec 9 21:28:27 UTC 2017
- Previous message: RFR 4358774: Add null InputStream and OutputStream
- Next message: RFR 4358774: Add null InputStream and OutputStream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Brian,
All previous suggested changes have been made in
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
- Previous message: RFR 4358774: Add null InputStream and OutputStream
- Next message: RFR 4358774: Add null InputStream and OutputStream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]