8228392: java.io.Filter{In,Out}put stream constructors should allow null stream parameter
Brian Burkhalter
brian.burkhalter at oracle.com
Thu Jul 18 20:01:20 UTC 2019
> On Jul 18, 2019, at 12:35 PM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
>
>> On Jul 18, 2019, at 12:34 PM, Lance Andersen <lance.andersen at oracle.com <mailto: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.
A patch which backs out the java.io.Filter{In,Out}put stream constructors null underlying stream check (and consequent changes) is at [1].
A tier 1-3 test run is in progress.
Thanks,
Brian
[1] http://cr.openjdk.java.net/~bpb/8228392/webrev.01/
More information about the core-libs-dev
mailing list