Date: Fri, 11 May 2001 19:06:09 -0400 (EDT)
From: Peter Jones - JavaSoft East <###@###.###>
Shouldn't sun.nio.ch.ChannelSocket override Socket.close() to do
something to participate in the key cancellation machinery? Adding
this:
public void close() throws IOException { channel.close(); }
seems to significantly reduce the frequency of the POLLNVAL/Errors that
I'm seeing (although they still occur).
From: Peter Jones - JavaSoft East <###@###.###>
Shouldn't sun.nio.ch.ChannelSocket override Socket.close() to do
something to participate in the key cancellation machinery? Adding
this:
public void close() throws IOException { channel.close(); }
seems to significantly reduce the frequency of the POLLNVAL/Errors that
I'm seeing (although they still occur).