RFR 8193698: Null handling in BodyPublisher, BodyHandler, and BodySubscriber convenience static factory methods

Chris Hegarty chris.hegarty at oracle.com
Mon Dec 18 13:18:51 UTC 2017


The HTTP Client API specifies that a NullPointerException will
be thrown when null is passed as an argument, expect where
explicitly specified. This issue adds correct null arg checking
where necessary, which is needed for spec conformance.

http://cr.openjdk.java.net/~chegar/8193698/

-Chris.

[1] https://bugs.openjdk.java.net/browse/JDK-8193698


More information about the net-dev mailing list