RFR 4358774: Add null InputStream and OutputStream
Patrick Reinhart
patrick at reini.net
Sun Dec 10 08:34:18 UTC 2017
Sorry, missed that thread:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-December/050458.html
-Patrick
Am 09.12.2017 um 22:28 schrieb Patrick Reinhart:
> 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