-
* gnu/java/net/PlainSocketImpl.java · 7dcc98e2
(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
Mohan Embar committed
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| applet | Loading commit data... | |
| awt | Loading commit data... | |
| beans | Loading commit data... | |
| io | Loading commit data... | |
| lang | Loading commit data... | |
| math | Loading commit data... | |
| net | Loading commit data... | |
| nio | Loading commit data... | |
| rmi | Loading commit data... | |
| security | Loading commit data... | |
| sql | Loading commit data... | |
| text | Loading commit data... | |
| util | Loading commit data... |