summaryrefslogtreecommitdiff
path: root/gnu/java/nio/SelectorImpl.java
diff options
context:
space:
mode:
authorCasey Marshall <csm@gnu.org>2006-05-31 00:57:16 +0000
committerCasey Marshall <csm@gnu.org>2006-05-31 00:57:16 +0000
commite0556b51c4223843c801b3cc6a10c13248cff8fd (patch)
tree74511c1caaaad85ef11ab9b524091c0d5d86a9f2 /gnu/java/nio/SelectorImpl.java
parent92cf25ad0d925e4d753577f3a70359a77e86cea5 (diff)
downloadclasspath-e0556b51c4223843c801b3cc6a10c13248cff8fd.tar.gz
2006-05-30 Casey Marshall <csm@gnu.org>jessie-nio
Merge scatter/gather NIO patch by Michael Barker to branch.
Diffstat (limited to 'gnu/java/nio/SelectorImpl.java')
-rw-r--r--gnu/java/nio/SelectorImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/java/nio/SelectorImpl.java b/gnu/java/nio/SelectorImpl.java
index e10f71574..7639c9ae3 100644
--- a/gnu/java/nio/SelectorImpl.java
+++ b/gnu/java/nio/SelectorImpl.java
@@ -379,6 +379,8 @@ public class SelectorImpl extends AbstractSelector
result = new DatagramChannelSelectionKey (ch, this);
else if (ch instanceof ServerSocketChannelImpl)
result = new ServerSocketChannelSelectionKey (ch, this);
+ else if (ch instanceof gnu.java.nio.SocketChannelImpl)
+ result = new gnu.java.nio.SocketChannelSelectionKeyImpl((gnu.java.nio.SocketChannelImpl)ch, this);
else
throw new InternalError ("No known channel type");