aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/SocketChannelImpl.java
diff options
context:
space:
mode:
authorMohan Embar <gnustuff@thisiscool.com>2003-12-11 15:35:13 +0000
committerMohan Embar <membar@gcc.gnu.org>2003-12-11 15:35:13 +0000
commitc1fb3625aebaa9ccacc16eb185f04a93e4ed459f (patch)
treea17332ea63799b3f5567f998f28e81a0b0f834c9 /libjava/gnu/java/nio/SocketChannelImpl.java
parent834b1209074da1983d7688ba5eebb54e9c9920ef (diff)
downloadgcc-c1fb3625aebaa9ccacc16eb185f04a93e4ed459f.zip
gcc-c1fb3625aebaa9ccacc16eb185f04a93e4ed459f.tar.gz
gcc-c1fb3625aebaa9ccacc16eb185f04a93e4ed459f.tar.bz2
* 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
Diffstat (limited to 'libjava/gnu/java/nio/SocketChannelImpl.java')
-rw-r--r--libjava/gnu/java/nio/SocketChannelImpl.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/libjava/gnu/java/nio/SocketChannelImpl.java b/libjava/gnu/java/nio/SocketChannelImpl.java
index 46c0d8c..ced8ef2 100644
--- a/libjava/gnu/java/nio/SocketChannelImpl.java
+++ b/libjava/gnu/java/nio/SocketChannelImpl.java
@@ -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);