--- old/src/share/classes/java/nio/channels/SelectionKey.java 2012-11-23 16:00:29.188641539 +0800 +++ new/src/share/classes/java/nio/channels/SelectionKey.java 2012-11-23 16:00:29.048641535 +0800 @@ -250,6 +250,14 @@ * connection sequence, or has an error pending, then it will add * OP_CONNECT to the key's ready set and add the key to its * selected-key set.

+ * + *

+ * Note an application should not use Selector's select() method to check + * OP_CONNECT again, once a channel is already connected. Please + * see {@link java.nio.channels.Selector#select() Selector.select()} for + * more detail. + *

+ * */ public static final int OP_CONNECT = 1 << 3;