JDK-7146564 : DefaultProxySelector should filter and ::0 [macosx]
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7u4,7u6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: unknown,x86
  • Submitted: 2012-02-17
  • Updated: 2012-07-20
  • Resolved: 2012-07-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u6 b17Fixed
Related Reports
Duplicate :  
Some of our networking tests use ServerSocket.getLocalSocketAddress() to determine the local address
to which a client (in the test) must connect. Typically, this method returns the special
"any local address" value or ::0

On *nix, a client Socket can connect to these addresses directly, but clearly they makes no sense to proxies
and need to be added to the default "no-proxy" list.

The situation on Windows is not clear and may have to be addressed in a different CR.

EVALUATION Changeset: dce05a523e0e Author: michaelm Date: 2012-06-22 10:19 +0100 URL: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/dce05a523e0e 7146564: DefaultProxySelector should filter and ::0 [macosx] Reviewed-by: alanb, chegar ! src/share/classes/sun/net/spi/DefaultProxySelector.java

EVALUATION Add and ::0 to default no proxy list