From b97991522d5592a47296f53fad359c1a80443de6 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Fri, 14 Feb 2003 12:07:31 +0000 Subject: natServerSocketChannelImpl.cc: Removed. 2003-02-14 Michael Koch * gnu/java/nio/natServerSocketChannelImpl.cc: Removed. * gnu/java/nio/ServerSocketChannelImpl.java (SocketAccept): Removed. (accept): Commented out use of SocketAccept. From-SVN: r62898 --- libjava/gnu/java/nio/ServerSocketChannelImpl.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java') 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; } -- cgit v1.2.3