On 30/05/2019 12:04, Chris Hegarty wrote:
The current default implementation of openConnection(URL,Proxy) simply
throws UnsupportedOperationException. Pedantically, this violates its
own specification, since it does not throw IllegalArgumentException when
passed a null value.

To resolve this, the default implementation should be updated and
specified. Trivially, perform null argument checking, and subsequently
throw UnsupportedOperationException ( since the URL stream handler
implementation can realistically do nothing more ).

Webrev:
   https://cr.openjdk.java.net/~chegar/8224973/webrev.00/

CSR:
   https://bugs.openjdk.java.net/browse/JDK-8225047

Looks fine. I've added myself as Reviewer to the CSR.

-Alan

Reply via email to