summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/ServerSocketChannelImpl.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-02-14 12:07:31 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-02-14 12:07:31 +0000
commitb97991522d5592a47296f53fad359c1a80443de6 (patch)
treeb7ac80a11a99564de5b3ac6f80c8e8320d105450 /libjava/gnu/java/nio/ServerSocketChannelImpl.java
parent6e8647d54ad5ba9457b010400fbccc9f47546d42 (diff)
natServerSocketChannelImpl.cc: Removed.
2003-02-14 Michael Koch <konqueror@gmx.de> * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. * gnu/java/nio/ServerSocketChannelImpl.java (SocketAccept): Removed. (accept): Commented out use of SocketAccept. From-SVN: r62898
Diffstat (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java')
-rw-r--r--libjava/gnu/java/nio/ServerSocketChannelImpl.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/libjava/gnu/java/nio/ServerSocketChannelImpl.java b/libjava/gnu/java/nio/ServerSocketChannelImpl.java
index d6810932684..039b50308d6 100644
--- a/libjava/gnu/java/nio/ServerSocketChannelImpl.java
+++ b/libjava/gnu/java/nio/ServerSocketChannelImpl.java
@@ -54,9 +54,6 @@ class ServerSocketChannelImpl extends ServerSocketChannel
boolean connected = false;
// InetSocketAddress sa;
- private static native int SocketAccept (ServerSocketChannelImpl server,
- SocketChannelImpl s);
-
protected ServerSocketChannelImpl (SelectorProvider provider)
throws IOException
{
@@ -103,7 +100,7 @@ class ServerSocketChannelImpl extends ServerSocketChannel
{
SocketChannelImpl result = new SocketChannelImpl (provider ());
result.sa = new InetSocketAddress (0);
- int res = SocketAccept (this,result);
+ //int res = SocketAccept (this,result);
return result;
}