United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7142123 test/java/net/ProxySelector/B6737819.java failing on all platforms since Mac OS integration
7142123 : test/java/net/ProxySelector/B6737819.java failing on all platforms since Mac OS integration

Details
Type:
Bug
Submit Date:
2012-02-02
Status:
Closed
Updated Date:
2012-10-06
Project Name:
JDK
Resolved Date:
2012-04-09
Component:
core-libs
OS:
generic
Sub-Component:
java.net
CPU:
unknown
Priority:
P4
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4

Related Reports

Sub Tasks

Description
test/java/net/ProxySelector/B6737819.java failing on all platforms since Mac OS integration
since the fix for 7141335

                                    

Comments
EVALUATION

6737819 tests some unusual behavior whereby the nonProxyHosts might need to be set to "" empty string in order 
to force proxying for all destinations including localhost. That might make sense (as 6737819 suggests) if the proxy is located on the same machine (for testing purposes) as both the client and server.

We broke this behavior in 7141335 by always adding the default proxy bypass list.

The solution here is to continue the behavior introduced by 7141335, except in the case where the proxy
property is set, but its value is an empty string. In that case (only), no bypass list will be set,
and the proxy will be used for all destinations.
                                     
2012-02-02



Hardware and Software, Engineered to Work Together