changeset 11894:a49220d14600

8166747: Add invalid network / computer name cases to isReachable known failure switch Reviewed-by: chegar, msheppar
author robm
date Tue, 27 Sep 2016 12:07:33 +0100
parents 22bc78a029fb
children 5607c8a4242f
files src/windows/native/java/net/Inet4AddressImpl.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/java/net/Inet4AddressImpl.c	Mon May 16 10:36:51 2016 -0700
+++ b/src/windows/native/java/net/Inet4AddressImpl.c	Tue Sep 27 12:07:33 2016 +0100
@@ -538,6 +538,8 @@
             case ERROR_REQUEST_ABORTED:
             case ERROR_INCORRECT_ADDRESS:
             case ERROR_HOST_DOWN:
+            case ERROR_INVALID_COMPUTERNAME:
+            case ERROR_INVALID_NETNAME:
             case WSAEHOSTUNREACH:   /* Host Unreachable */
             case WSAENETUNREACH:    /* Network Unreachable */
             case WSAENETDOWN:       /* Network is down */