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
This commit is contained in:
Michael Koch 2003-02-14 12:07:31 +00:00 committed by Michael Koch
parent 6e8647d54a
commit b97991522d
3 changed files with 8 additions and 81 deletions

View file

@ -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;
}