-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b07
-
generic
-
generic
java.io.Filter{In,Out}put stream constructors should allow null stream parameter. The constructor javadoc
"in - the underlying input stream, or null if this instance is to be created without an underlying stream."
and
"out - the underlying output stream to be assigned to the field this.out for later use, or null if this instance is to be created without an underlying stream."
override the package javadoc
"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."
"in - the underlying input stream, or null if this instance is to be created without an underlying stream."
and
"out - the underlying output stream to be assigned to the field this.out for later use, or null if this instance is to be created without an underlying stream."
override the package javadoc
"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."
- relates to
-
JDK-8067801 Enforce null check for underlying I/O streams
-
- Resolved
-
-
JDK-8228204 Fix for JDK-8067801 breaks java/io/NegativeInitSize.java
-
- Resolved
-
-
JDK-8228338 tools/pack200/TimeStamp.java fails with NullPointerException
-
- Resolved
-
- links to