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 |
||
---|---|---|
.. | ||
protocol | ||
HeaderFieldHelper.java | ||
natPlainDatagramSocketImplNoNet.cc | ||
natPlainDatagramSocketImplPosix.cc | ||
natPlainDatagramSocketImplWin32.cc | ||
natPlainSocketImplNoNet.cc | ||
natPlainSocketImplPosix.cc | ||
natPlainSocketImplWin32.cc | ||
PlainDatagramSocketImpl.java | ||
PlainSocketImpl.java | ||
URLParseError.java |