8166747: Add invalid network / computer name cases to isReachable known failure switch
authorrobm
Tue, 27 Sep 2016 12:07:33 +0100
changeset 41137 cbc639238d91
parent 41136 44ba1622deee
child 41138 eff1ff3bb5ef
8166747: Add invalid network / computer name cases to isReachable known failure switch Reviewed-by: chegar, msheppar
jdk/src/java.base/windows/native/libnet/Inet4AddressImpl.c
--- a/jdk/src/java.base/windows/native/libnet/Inet4AddressImpl.c	Tue Sep 27 01:36:31 2016 -0700
+++ b/jdk/src/java.base/windows/native/libnet/Inet4AddressImpl.c	Tue Sep 27 12:07:33 2016 +0100
@@ -499,6 +499,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 */