URL.openConnection(Proxy.NO_PROXY) throws NULLPointerException. The implementation of URL.openConnection(Proxy p) does not check whether the InetSocketAddress returned by p.address() could be null if user passes Proxy.NO_PROXY. This will result NULLPointerException when people tries to use the API. ###@###.### 2004-08-12
|