< prev index next >

src/java.base/unix/native/libnet/Inet6AddressImpl.c

Print this page
rev 14618 : 8158023: SocketExceptions contain too little information sometimes

@@ -788,11 +788,11 @@
           close(fd);
           return JNI_FALSE;
         }
 
         if (errno != EINPROGRESS) {
-            NET_ThrowByNameWithLastError(env, JNU_JAVANETPKG "ConnectException",
+            JNU_ThrowByNameWithLastError(env, JNU_JAVANETPKG "ConnectException",
                                          "connect failed");
             close(fd);
             return JNI_FALSE;
         }
 
< prev index next >