changeset 5098:dce05a523e0e

7146564: DefaultProxySelector should filter 0.0.0.0 and ::0 [macosx] Reviewed-by: alanb, chegar
author michaelm
date Fri, 22 Jun 2012 10:19:40 +0100
parents 19fb8a44120c
children d68e2a1744bd
files src/share/classes/sun/net/spi/DefaultProxySelector.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/net/spi/DefaultProxySelector.java	Wed Jun 20 16:54:23 2012 +0400
+++ b/src/share/classes/sun/net/spi/DefaultProxySelector.java	Fri Jun 22 10:19:40 2012 +0100
@@ -111,7 +111,7 @@
     static class NonProxyInfo {
         // Default value for nonProxyHosts, this provides backward compatibility
         // by excluding localhost and its litteral notations.
-        static final String defStringVal = "localhost|127.*|[::1]";
+        static final String defStringVal = "localhost|127.*|[::1]|0.0.0.0|[::0]";
 
         String hostsSource;
         RegexpPool hostsPool;