diff options
| author | Michael Koch <konqueror@gmx.de> | 2003-02-14 12:07:31 +0000 |
|---|---|---|
| committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-02-14 12:07:31 +0000 |
| commit | b97991522d5592a47296f53fad359c1a80443de6 (patch) | |
| tree | b7ac80a11a99564de5b3ac6f80c8e8320d105450 /libjava/gnu/java/nio/ServerSocketChannelImpl.java | |
| parent | 6e8647d54ad5ba9457b010400fbccc9f47546d42 (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.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; } |
