RFR: 7146564 DefaultProxySelector should filter 0.0.0.0 and ::0 [macosx]

Chris Hegarty chris.hegarty at oracle.com
Fri Feb 17 05:45:01 PST 2012


Would it not make sense to fix the individual tests that are trying to 
connect to 0.0.0.0, so they connect to the appropriate address/hostname?

The tests you changed use 127.0.0.1 rather than the localhost. Does 
InetAddress.getLocalHost().getHostAddress() not return an appropriate 
address? Or is it being proxied?

-Chris.

On 02/17/12 12:26 PM, Michael McMahon wrote:
> Could I get the following webrev reviewed please for 7u4?
>
> http://cr.openjdk.java.net/~michaelm/7146564/webrev.1/
>
> Something I overlooked in the recent change to the DefaultProxySelector
> is that some of our tests end up trying to connect to 0.0.0.0
> and that needs to be added to the default proxy list.
>
> There are a couple of other test failures related to this
> which the change fixes.
>
> Thanks
> Michael



More information about the net-dev mailing list