8067801: Enforce null check for underlying I/O streams
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Jul 17 16:12:56 UTC 2019
https://bugs.openjdk.java.net/browse/JDK-8067801
http://cr.openjdk.java.net/~bpb/8067801/webrev.00/
Add null check to Filter{In,Out}putStream constructors. This covers all the cases listed in the issue as those are all subclasses of these two classes. No javadoc update is need due to this statement in the java.io package doc:
"Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown."
Thanks,
Brian
More information about the core-libs-dev
mailing list