United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7132699 [macosx] Proxy using for connection to localhost
JDK-7132699 : [macosx] Proxy using for connection to localhost

Details
Type:
Bug
Submit Date:
2012-01-24
Status:
Closed
Updated Date:
2012-03-28
Project Name:
JDK
Resolved Date:
2012-03-28
Component:
core-libs
OS:
os_x
Sub-Component:
java.net
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4 (b11)

Related Reports

Sub Tasks

Description
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

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
                                     
2012-01-24
EVALUATION

Not setting a proxy server also gets rid of these failures - needs further investigation
                                     
2012-01-24
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
                                     
2012-02-02



Hardware and Software, Engineered to Work Together