* gnu/java/net/PlainSocketImpl.java
authorMohan Embar <gnustuff@thisiscool.com>
Fri, 30 Jan 2004 13:43:21 +0000 (13:43 +0000)
committerMohan Embar <membar@gcc.gnu.org>
Fri, 30 Jan 2004 13:43:21 +0000 (13:43 +0000)
commit7dcc98e25c7da0f7eeef93d77d0ead2e5814b019
tree49b741adeec23a17d6a07df2869147de34f24174
parentd1615643e511bab93bdf275303aab9468505bc79
* gnu/java/net/PlainSocketImpl.java
(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
libjava/ChangeLog
libjava/gnu/java/net/PlainSocketImpl.java
libjava/gnu/java/nio/ServerSocketChannelImpl.java
libjava/gnu/java/nio/SocketChannelImpl.java
libjava/java/net/ServerSocket.java
libjava/java/net/Socket.java
libjava/java/nio/channels/spi/AbstractSelectableChannel.java