< prev index next >
src/java.base/unix/native/libnet/Inet6AddressImpl.c
Print this page
rev 14618 : 8158023: SocketExceptions contain too little information sometimes
*** 788,798 ****
close(fd);
return JNI_FALSE;
}
if (errno != EINPROGRESS) {
! NET_ThrowByNameWithLastError(env, JNU_JAVANETPKG "ConnectException",
"connect failed");
close(fd);
return JNI_FALSE;
}
--- 788,798 ----
close(fd);
return JNI_FALSE;
}
if (errno != EINPROGRESS) {
! JNU_ThrowByNameWithLastError(env, JNU_JAVANETPKG "ConnectException",
"connect failed");
close(fd);
return JNI_FALSE;
}
< prev index next >