6608833: (se spec) SelectionKey @throws references wrong param
Summary: Update the API doc to correct the wrong description
Reviewed-by: alanb
--- 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
- * <tt>set & ~(channel().validOps()) != 0</tt>
+ * <tt>(ops & ~channel().validOps()) != 0</tt>
*
* @throws CancelledKeyException
* If this key has been cancelled