"null" is a significant term in the Java ecosystem, and the relationship here, to /dev/null or NUL seems somewhat tenuous.

Have any other names been considered?  At least for the InputStream, calling it an "empty stream" seems more intuitive than a "null stream".

-- Jon


On 12/6/17 11:00 AM, Brian Burkhalter wrote:
https://bugs.openjdk.java.net/browse/JDK-4358774
http://cr.openjdk.java.net/~bpb/4358774/webrev.00/

Add nullStream() method to each of InputStream and OutputStream.

Thanks,

Brian

Reply via email to