(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 |
|---|---|---|
| .. | ||
| spi | Loading commit data... | |
| AlreadyConnectedException.java | Loading commit data... | |
| AsynchronousCloseException.java | Loading commit data... | |
| ByteChannel.java | Loading commit data... | |
| CancelledKeyException.java | Loading commit data... | |
| Channel.java | Loading commit data... | |
| Channels.java | Loading commit data... | |
| ClosedByInterruptException.java | Loading commit data... | |
| ClosedChannelException.java | Loading commit data... | |
| ClosedSelectorException.java | Loading commit data... | |
| ConnectionPendingException.java | Loading commit data... | |
| DatagramChannel.java | Loading commit data... | |
| FileChannel.java | Loading commit data... | |
| FileChannelImpl.java | Loading commit data... | |
| FileLock.java | Loading commit data... | |
| FileLockInterruptionException.java | Loading commit data... | |
| GatheringByteChannel.java | Loading commit data... | |
| IllegalBlockingModeException.java | Loading commit data... | |
| IllegalSelectorException.java | Loading commit data... | |
| InterruptibleChannel.java | Loading commit data... | |
| NoConnectionPendingException.java | Loading commit data... | |
| NonReadableChannelException.java | Loading commit data... | |
| NonWritableChannelException.java | Loading commit data... | |
| NotYetBoundException.java | Loading commit data... | |
| NotYetConnectedException.java | Loading commit data... | |
| OverlappingFileLockException.java | Loading commit data... | |
| Pipe.java | Loading commit data... | |
| ReadableByteChannel.java | Loading commit data... | |
| ScatteringByteChannel.java | Loading commit data... | |
| SelectableChannel.java | Loading commit data... | |
| SelectionKey.java | Loading commit data... | |
| Selector.java | Loading commit data... | |
| ServerSocketChannel.java | Loading commit data... | |
| SocketChannel.java | Loading commit data... | |
| UnresolvedAddressException.java | Loading commit data... | |
| UnsupportedAddressTypeException.java | Loading commit data... | |
| WritableByteChannel.java | Loading commit data... | |
| natFileChannelImpl.cc | Loading commit data... |