OpenJDK / jdk9 / jdk9 / jdk
changeset 15704:665096863382 jdk-9+138
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 | b2e7ba45d2de |
children | 1e8186f800c5 12e616e0a018 f61c40b324c5 |
files | src/java.base/windows/native/libnet/Inet4AddressImpl.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/windows/native/libnet/Inet4AddressImpl.c Tue Sep 27 01:36:31 2016 -0700 +++ b/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 */