7dcc98e25c
(inChannelOperation): New field. (isInChannelOperation): New accessor. (setInChannelOperation): New modifier. * gnu/java/nio/ServerSocketChannelImpl.java (accept): Set and reset our server socket's PlainSocketImpl's "in channel operation" indicator before and after delegating the accept to our server socket. * gnu/java/nio/SocketChannelImpl.java (connect): Set and reset our socket's PlainSocketImpl's "in channel operation" indicator before and after delegating the operation to our socket. (read): Likewise. (write): Likewise. * java/net/ServerSocket.java (implAccept): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this accept operation. * java/net/Socket.java (connect): Don't throw an IllegalBlockingModeException if we have a non-blocking channel which initiated this connect operation. * java/nio/channels/spi/AbstractSelectableChannel.java (configureBlocking): Only call implConfigureBlocking() if the desired blocking mode is different from our current one. From-SVN: r76956 |
||
---|---|---|
.. | ||
spi | ||
AlreadyConnectedException.java | ||
AsynchronousCloseException.java | ||
ByteChannel.java | ||
CancelledKeyException.java | ||
Channel.java | ||
Channels.java | ||
ClosedByInterruptException.java | ||
ClosedChannelException.java | ||
ClosedSelectorException.java | ||
ConnectionPendingException.java | ||
DatagramChannel.java | ||
FileChannel.java | ||
FileChannelImpl.java | ||
FileLock.java | ||
FileLockInterruptionException.java | ||
GatheringByteChannel.java | ||
IllegalBlockingModeException.java | ||
IllegalSelectorException.java | ||
InterruptibleChannel.java | ||
natFileChannelImpl.cc | ||
NoConnectionPendingException.java | ||
NonReadableChannelException.java | ||
NonWritableChannelException.java | ||
NotYetBoundException.java | ||
NotYetConnectedException.java | ||
OverlappingFileLockException.java | ||
Pipe.java | ||
ReadableByteChannel.java | ||
ScatteringByteChannel.java | ||
SelectableChannel.java | ||
SelectionKey.java | ||
Selector.java | ||
ServerSocketChannel.java | ||
SocketChannel.java | ||
UnresolvedAddressException.java | ||
UnsupportedAddressTypeException.java | ||
WritableByteChannel.java |