JDK-7132699 : [macosx] Proxy using for connection to localhost
Type:Bug
Component:core-libs
Sub-Component:java.net
Affected Version:7u4
Priority:P4
Status:Closed
Resolution:Fixed
OS:os_x
CPU:x86
Submitted:2012-01-24
Updated:2012-03-28
Resolved:2012-03-28
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.
1) Set properties http.proxyHost and http.proxyPort
2) try to connect to localhost
Build: b211
Tests failed (Regression):
java/net/ProxySelector/B6737819.java
Many other JCK and regression test fails due to same reason.
Comments
EVALUATION
Changeset: d476c80173a3
Author: michaelm
Date: 2012-01-30 13:47 +0000
URL: http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk/rev/d476c80173a3
7132699: [macosx] Proxy using for connection to localhost
Reviewed-by: alanb
! src/share/classes/sun/net/spi/DefaultProxySelector.java
02-02-2012
EVALUATION
Not setting a proxy server also gets rid of these failures - needs further investigation
24-01-2012
EVALUATION
In order to get rid of these failures, the Mac OS X proxy bypass list should be set to:
local, 169.254/16, 127.0.0.1, 127.2, localhost, fe80.0.0.0.0.1, fe80::1