8228392: java.io.Filter{In,Out}put stream constructors should allow null stream parameter

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jul 18 19:35:52 UTC 2019


Hi Lance,

> On Jul 18, 2019, at 12:34 PM, Lance Andersen <lance.andersen at oracle.com> wrote:
> 
>> One thing which should be considered as an alternative would be not to check for null at all in these constructors but update the subclass constructor specifications to override the class documentation and indicate that the underlying stream parameter may be null.
> 
> I think this might be the better way to go..

Agreed. I therefore withdraw this patch and will use this issue for the back out.

Thanks,

Brian


More information about the core-libs-dev mailing list