OSDN Git Service

* gnu/java/nio/SocketChannelImpl.java
authormembar <membar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Dec 2003 15:35:13 +0000 (15:35 +0000)
committermembar <membar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 11 Dec 2003 15:35:13 +0000 (15:35 +0000)
commit1fbf35ae1e27994e6b67a79a8b49d1610b39bef6
treea17332ea63799b3f5567f998f28e81a0b0f834c9
parent9e1ba84adae1fb9b8f7447c6ac589ac2caf9bdf6
* 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().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74537 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/gnu/java/nio/SocketChannelImpl.java
libjava/gnu/java/nio/natSelectorImplPosix.cc