gcc/libjava/java/net
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
..
Authenticator.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
BindException.java
ConnectException.java
ContentHandler.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
ContentHandlerFactory.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
DatagramPacket.java
DatagramSocket.java DatagramSocket.java (getLocalAddress): Renamed result variable to localAddr. 2003-09-19 07:24:59 +00:00
DatagramSocketImpl.java 2003-06-08 Michael Koch <konqueror@gmx.de> 2003-06-08 09:25:54 +00:00
DatagramSocketImplFactory.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
FileNameMap.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
HttpURLConnection.java HttpURLConnection.java, [...]: Reworked import statements. 2003-06-19 15:08:22 +00:00
Inet4Address.java 2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 15:48:15 +00:00
Inet6Address.java 2003-06-27 Michael Koch <konqueror@gmx.de> 2003-06-27 15:48:15 +00:00
InetAddress.java 2003-10-02 Michael Koch <konqueror@gmx.de> 2003-10-02 15:17:13 +00:00
InetSocketAddress.java 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org> 2003-10-02 19:29:31 +00:00
JarURLConnection.java 2003-09-22 Michael Koch <konqueror@gmx.de> 2003-09-22 05:48:32 +00:00
MalformedURLException.java
MulticastSocket.java DatagramSocket.java (getLocalAddress): Renamed result variable to localAddr. 2003-09-19 07:24:59 +00:00
natInetAddressNoNet.cc natInetAddressNoNet.cc: Include stddef.h. 2003-03-24 13:40:44 +00:00
natInetAddressPosix.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natInetAddressWin32.cc win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
natNetworkInterfaceNoNet.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natNetworkInterfacePosix.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natNetworkInterfaceWin32.cc win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
NetPermission.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
NetworkInterface.java 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org> 2003-10-02 19:29:31 +00:00
NoRouteToHostException.java
PasswordAuthentication.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
PortUnreachableException.java
ProtocolException.java
ServerSocket.java NIOSocket.java (setChannel): Initialize impl. 2003-10-11 18:01:35 +00:00
Socket.java 2003-09-18 Michael Koch <konqueror@gmx.de> 2003-09-18 11:32:46 +00:00
SocketAddress.java 2003-01-14 Michael Koch <konqueror@gmx.de> 2003-01-14 21:44:48 +00:00
SocketException.java
SocketImpl.java SocketImpl.java (toString): Display the remote address of an unconnected server socket as "0.0.0.0/0.0.0.0". 2003-08-01 21:08:33 +00:00
SocketImplFactory.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
SocketOptions.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
SocketPermission.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
SocketTimeoutException.java
UnknownHostException.java
UnknownServiceException.java
URI.java Forgot to add this to commit line on 2003/05/02. Its in Changelog already. 2003-05-05 05:10:47 +00:00
URISyntaxException.java
URL.java Connection.java, [...]: Moved to gnu/java/net/protocol. 2003-10-08 16:28:30 +00:00
URLClassLoader.java Makefile.in: Rebuilt. 2003-08-28 22:17:37 +00:00
URLConnection.java 2003-10-02 Michael Koch <konqueror@gmx.de> 2003-10-02 15:17:13 +00:00
URLDecoder.java 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 20:11:13 +00:00
URLEncoder.java URLEncoder.java (encode(String)): Use platform default encoding. 2003-07-22 18:03:47 +00:00
URLStreamHandler.java URLStreamHandler.java (parseURL): If original file ends with "/", so must canonical result. 2003-09-12 01:08:18 +00:00
URLStreamHandlerFactory.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00