* gnu/java/nio/SocketChannelImpl.java
authorMohan Embar <gnustuff@thisiscool.com>
Thu, 11 Dec 2003 15:35:13 +0000 (15:35 +0000)
committerMohan Embar <membar@gcc.gnu.org>
Thu, 11 Dec 2003 15:35:13 +0000 (15:35 +0000)
commitc1fb3625aebaa9ccacc16eb185f04a93e4ed459f
treea17332ea63799b3f5567f998f28e81a0b0f834c9
parent834b1209074da1983d7688ba5eebb54e9c9920ef
* 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
libjava/ChangeLog
libjava/gnu/java/nio/SocketChannelImpl.java
libjava/gnu/java/nio/natSelectorImplPosix.cc