summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/nio/SelectorImpl.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-09 18:01:08 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-09 18:01:08 +0000
commit1f203c10899f925445e9e34ed1e9fd4dcebac758 (patch)
tree5eb89b9d4b6823133af7a8e54c008a6ed38522c8 /libjava/gnu/java/nio/SelectorImpl.java
parent0265b721e9468ea54315b4c759ed894057d6c6d4 (diff)
downloadppe42-gcc-1f203c10899f925445e9e34ed1e9fd4dcebac758.tar.gz
ppe42-gcc-1f203c10899f925445e9e34ed1e9fd4dcebac758.zip
2003-10-09 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SelectorImpl.java (register): Use ServerSocketChannelSelectionKey for server socket channels, removed unneeded comments. * gnu/java/nio/ServerSocketChannelImpl.java (ServerSocketChannelImpl): Made class public final. (impl): New member variable. (ServerSocketChannelImpl): Initialize member variables correctly. (initServerSocket): New method. (getNativeFD): Likewise. * gnu/java/nio/ServerSocketChannelSelectionKey.java, gnu/java/nio/natServerSocketChannelImpl.cc: New files. * Makefile.am (ordinary_java_source_files): Added gnu/java/nio/ServerSocketChannelSelectionKey.java. (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc. * Makefile.in: Regenrated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72277 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/nio/SelectorImpl.java')
-rw-r--r--libjava/gnu/java/nio/SelectorImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/gnu/java/nio/SelectorImpl.java b/libjava/gnu/java/nio/SelectorImpl.java
index 08531ef449a..60a81f98458 100644
--- a/libjava/gnu/java/nio/SelectorImpl.java
+++ b/libjava/gnu/java/nio/SelectorImpl.java
@@ -253,17 +253,17 @@ public class SelectorImpl extends AbstractSelector
if (ch instanceof SocketChannelImpl)
{
SocketChannelImpl sc = (SocketChannelImpl) ch;
- result = new SocketChannelSelectionKey (ch, this); // FIXME: last argument
+ result = new SocketChannelSelectionKey (ch, this);
}
else if (ch instanceof DatagramChannelImpl)
{
DatagramChannelImpl dc = (DatagramChannelImpl) ch;
- result = new DatagramChannelSelectionKey (ch, this); // FIXME: last argument
+ result = new DatagramChannelSelectionKey (ch, this);
}
else if (ch instanceof ServerSocketChannelImpl)
{
ServerSocketChannelImpl ssc = (ServerSocketChannelImpl) ch;
- result = new SocketChannelSelectionKey (ch, this); // FIXME: last argument
+ result = new ServerSocketChannelSelectionKey (ch, this);
}
else
{
OpenPOWER on IntegriCloud