# HG changeset patch # User sherman # Date 1216069422 25200 # Node ID 3234b58ccc9220072663f2a8f7136c269ac50321 # Parent 218b7e32fe38d1cd597dbc9b7266dfc1ee9eb381 6608833: (se spec) SelectionKey @throws references wrong param Summary: Update the API doc to correct the wrong description Reviewed-by: alanb diff -r 218b7e32fe38 -r 3234b58ccc92 jdk/src/share/classes/java/nio/channels/SelectionKey.java --- a/jdk/src/share/classes/java/nio/channels/SelectionKey.java Fri Jun 27 12:09:37 2008 -0700 +++ b/jdk/src/share/classes/java/nio/channels/SelectionKey.java Mon Jul 14 14:03:42 2008 -0700 @@ -191,7 +191,7 @@ * @throws IllegalArgumentException * If a bit in the set does not correspond to an operation that * is supported by this key's channel, that is, if - * set & ~(channel().validOps()) != 0 + * (ops & ~channel().validOps()) != 0 * * @throws CancelledKeyException * If this key has been cancelled