diff options
Diffstat (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java')
| -rw-r--r-- | libjava/gnu/java/nio/ServerSocketChannelImpl.java | 5 |
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; } |
