(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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
charset | Loading commit data... | |
ChannelInputStream.java | Loading commit data... | |
ChannelOutputStream.java | Loading commit data... | |
DatagramChannelImpl.java | Loading commit data... | |
DatagramChannelSelectionKey.java | Loading commit data... | |
FileLockImpl.java | Loading commit data... | |
InputStreamChannel.java | Loading commit data... | |
NIOConstants.java | Loading commit data... | |
NIODatagramSocket.java | Loading commit data... | |
NIOServerSocket.java | Loading commit data... | |
NIOSocket.java | Loading commit data... | |
OutputStreamChannel.java | Loading commit data... | |
PipeImpl.java | Loading commit data... | |
SelectionKeyImpl.java | Loading commit data... | |
SelectorImpl.java | Loading commit data... | |
SelectorProviderImpl.java | Loading commit data... | |
ServerSocketChannelImpl.java | Loading commit data... | |
ServerSocketChannelSelectionKey.java | Loading commit data... | |
SocketChannelImpl.java | Loading commit data... | |
SocketChannelSelectionKey.java | Loading commit data... | |
natFileLockImpl.cc | Loading commit data... | |
natNIOServerSocket.cc | Loading commit data... | |
natPipeImplEcos.cc | Loading commit data... | |
natPipeImplPosix.cc | Loading commit data... | |
natPipeImplWin32.cc | Loading commit data... | |
natSelectorImplEcos.cc | Loading commit data... | |
natSelectorImplPosix.cc | Loading commit data... | |
natSelectorImplWin32.cc | Loading commit data... |