* 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:
Mohan Embar 2003-12-11 15:35:13 +00:00 committed by Mohan Embar
parent 834b120907
commit c1fb3625ae
3 changed files with 62 additions and 13 deletions

View file

@ -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);