src/solaris/native/java/net/SocketOutputStream.c

Print this page

        

@@ -108,21 +108,17 @@
             if (n > 0) {
                 llen -= n;
                 loff += n;
                 continue;
             }
-            if (n == JVM_IO_INTR) {
-                JNU_ThrowByName(env, "java/io/InterruptedIOException", 0);
-            } else {
                 if (errno == ECONNRESET) {
                     JNU_ThrowByName(env, "sun/net/ConnectionResetException",
                         "Connection reset");
                 } else {
                     NET_ThrowByNameWithLastError(env, "java/net/SocketException",
                         "Write failed");
                 }
-            }
             if (bufP != BUF) {
                 free(bufP);
             }
             return;
         }