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

2017-12-18 Thread Chris Hegarty
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

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

2017-12-18 Thread Daniel Fuchs
Looks good to me Chris! -- daniel On 18/12/2017 13:18, Chris Hegarty wrote: 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