* java/nio/channels/SelectionKey.java
(OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
values.
From-SVN: r62683
+2003-02-11 Michael Koch <konqueror@gmx.de>
+
+ * java/nio/channels/SelectionKey.java
+ (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
+ values.
+
2003-02-11 Michael Koch <konqueror@gmx.de>
* java/nio/channels/DatagramChannel.java
*/
public abstract class SelectionKey
{
- public static final int OP_ACCEPT = 1<<0;
- public static final int OP_CONNECT = 1<<1;
- public static final int OP_READ = 1<<2;
- public static final int OP_WRITE = 1<<3;
+ public static final int OP_ACCEPT = 16;
+ public static final int OP_CONNECT = 8;
+ public static final int OP_READ = 1;
+ public static final int OP_WRITE = 4;
Object attached;