Thread.interrupt

Jeff Sturm jeff.sturm@appnet.com
Sat Jan 13 13:23:00 GMT 2001


Tom Tromey wrote:
> I could change _Jv_select to throw InterruptedIOException, and I
> probably will, but this is less useful if Thread.interrupt() doesn't
> actually interrupt the I/O.

Interrupted I/O came up almost a year ago, but I don't remember any
consensus:

http://sources.redhat.com/ml/java-discuss/2000-q1/msg00418.html

In summary, Sun changed their mind about InterruptedIOException, and it
was never implemented consistently anyway.  It is difficult to make it
work on certain platforms (win32).

Jeff


More information about the Java mailing list