gcc/libjava/java
Michael Koch 51914674f4 NIOSocket.java (setChannel): Initialize impl.
2003-10-11  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/NIOSocket.java (setChannel): Initialize impl.
	* gnu/java/nio/ServerSocketChannelImpl.java
	(serverSocket): Made it a NIOServerSocket.
	(impl): Removed.
	(ServerSocketChannelImpl): Initialize only serverSocket.
	(initServerSocket): Removed.
	(getNativeFD): Rewritten.
	(implConfigureBlocking): Set socket timeout and removed comment.
	(accept): Rewritten.
	* gnu/java/nio/SocketChannelImpl.java
	(impl): New variable.
	(connected): Removed.
	(SocketChannelImpl): Initialize impl too.
	(getImpl): New method.
	(isConnected): Rewritten.
	(read): Rewritten, set position in buffer correctly.
	(write): Set position in buffer correctly.
	* java/net/ServerSocket.java (getImpl): New method.
	* gnu/java/nio/NIOServerSocket.java,
	gnu/java/nio/natNIOServerSocket.cc: New files.
	* gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
	* Makefile.am
	(ordinary_java_source_files):
	Added gnu/java/nio/NIOServerSocket.java.
	(nat_source_files):
	Removed gnu/java/nio/natServerSocketChannelImpl.cc
	and added gnu/java/nio/natNIOServerSocket.cc.
	* Makefile.in: Regenerated.

From-SVN: r72345
2003-10-11 18:01:35 +00:00
..
applet
awt 2003-10-11 Michael Koch <konqueror@gmx.de> 2003-10-11 17:19:46 +00:00
beans MemoryImageSource.java, [...]: New versions from classpath. 2003-07-14 05:33:30 +00:00
io [multiple changes] 2003-09-26 19:59:56 +00:00
lang ClassLoader.java (setSigners): Implemented. 2003-10-09 16:24:55 +00:00
math 2003-10-09 Michael Koch <konqueror@gmx.de> 2003-10-09 13:13:05 +00:00
net NIOSocket.java (setChannel): Initialize impl. 2003-10-11 18:01:35 +00:00
nio 2003-10-09 Michael Koch <konqueror@gmx.de> 2003-10-09 17:34:10 +00:00
rmi RMIClassLoader.java: Removed unused imports, little reformatings. 2003-10-09 15:20:25 +00:00
security Security.java: Reformated. 2003-10-08 21:01:50 +00:00
sql 2003-09-18 Jeroen Frijters <jeroen@frijters.net> 2003-09-18 06:11:41 +00:00
text 2003-10-08 Michael Koch <konqueror@gmx.de> 2003-10-08 20:48:11 +00:00
util LinkedList.java: Removed whitespace to match classpath's version again. 2003-10-08 15:30:44 +00:00