--- old/src/share/classes/java/nio/channels/SocketChannel.java 2012-11-23 16:00:30.520641568 +0800 +++ new/src/share/classes/java/nio/channels/SocketChannel.java 2012-11-23 16:00:30.384641566 +0800 @@ -337,6 +337,12 @@ * that is, if an invocation of this method throws a checked exception, * then the channel will be closed.

* + *

Once a connection is established, + * {@link java.nio.channels.Selector#select() Selector.select()} method + * should never select OP_CONNECT again. Please see + * {@link java.nio.channels.Selector#select() Selector.select()} for detail. + *

+ * * @param remote * The remote address to which this channel is to be connected *