From d24d9c7027cfac44cdf1ea78bde9bd3a49469f0e Mon Sep 17 00:00:00 2001 From: mkoch Date: Tue, 11 Feb 2003 06:50:13 +0000 Subject: 2003-02-11 Michael Koch * java/nio/channels/SelectionKey.java (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62683 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/nio/channels/SelectionKey.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libjava/java/nio/channels/SelectionKey.java') diff --git a/libjava/java/nio/channels/SelectionKey.java b/libjava/java/nio/channels/SelectionKey.java index 8d06a301143..39b66f1902a 100644 --- a/libjava/java/nio/channels/SelectionKey.java +++ b/libjava/java/nio/channels/SelectionKey.java @@ -43,10 +43,10 @@ package java.nio.channels; */ 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; -- cgit v1.2.3