JDK-7142123 : test/java/net/ProxySelector/B6737819.java failing on all platforms since Mac OS integration
Type:Bug
Component:core-libs
Sub-Component:java.net
Affected Version:7u4
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:unknown
Submitted:2012-02-02
Updated:2012-10-06
Resolved:2012-04-09
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.
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.