* gnu/java/nio/SocketChannelImpl.java
(write): Removed diagnostic trace. * gnu/java/nio/natSelectorImplPosix.cc: Added includes for java.lang.Thread and java.io.InterruptedIOException. (helper_put_filedescriptors): Don't put invalid file descriptors in select set. (helper_get_filedescriptors): Clear invalid file descriptors from select set. (helper_reset): New method for clearing our file descriptor array. (implSelect): Correctly calculate timeout if specified and legal. Intercept and deal with any java.io.InterruptedIOException thrown by _Jv_select(). From-SVN: r74537
This commit is contained in:
@@ -301,8 +301,6 @@ public final class SocketChannelImpl extends SocketChannel
|
||||
data = src.array();
|
||||
}
|
||||
|
||||
System.out.println ("INTERNAL: writing to socket outputstream");
|
||||
|
||||
OutputStream output = socket.getOutputStream();
|
||||
output.write (data, offset, len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user