gcc/libjava/java/net
Bryce McKinlay 62ad7de1e0 re PR libgcj/10868 (java.net.ServerSocket's constructors create and leak extra sockets)
* java/net/Socket.java (Socket (SocketImpl)): Don't allow null
	SocketImpl. Update Javadoc.
	(bind): Call close() not impl.close() in event of exception.
	(connect): Likewise.
	Remove superfluous null checks throughout.
	* java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
	Don't create an extra socket. Fix for PR libgcj/10868.
	(bind): Clean up exception handling.
	Remove superfluous null checks throughout.

From-SVN: r70219
2003-08-07 07:30:16 +01:00
..
Authenticator.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
BindException.java BindException.java, [...]: add/update of some @since/@deprecated 2002-08-27 17:47:27 +00:00
ConnectException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
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 2002-10-03 Michael Koch <konqueror@gmx.de> 2002-10-03 14:30:48 +00:00
DatagramSocket.java DatagramSocket.java: Partly merged with classpath. 2003-06-11 10:38:38 +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 HttpURLConnection.java, [...]: Reworked import statements. 2003-06-19 15:08:22 +00:00
InetSocketAddress.java 2003-06-17 Michael Koch <konqueror@gmx.de> 2003-06-17 19:11:56 +00:00
JarURLConnection.java 2003-05-09 Michael Koch <konqueror@gmx.de> 2003-05-09 07:11:11 +00:00
MalformedURLException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
MulticastSocket.java 2003-06-08 Michael Koch <konqueror@gmx.de> 2003-06-08 09:25:54 +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 configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +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 configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natPlainDatagramSocketImplNoNet.cc natInetAddressNoNet.cc: Include stddef.h. 2003-03-24 13:40:44 +00:00
natPlainDatagramSocketImplPosix.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natPlainDatagramSocketImplWin32.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natPlainSocketImplNoNet.cc natInetAddressNoNet.cc: Include stddef.h. 2003-03-24 13:40:44 +00:00
natPlainSocketImplPosix.cc natPlainSocketImplPosix.cc (connect): Pass the FD as a ready-to-write argument to _Jv_Select. 2003-08-07 02:13:46 +01:00
natPlainSocketImplWin32.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
NetPermission.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
NetworkInterface.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
NoRouteToHostException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
PasswordAuthentication.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
PlainDatagramSocketImpl.java PlainDatagramSocketImpl.java: Partly merged with classpath, this mainly adds documentation. 2003-06-25 07:00:34 +00:00
PlainSocketImpl.java PlainSocketImpl.java: Reformatted. 2003-06-21 14:02:10 +00:00
PortUnreachableException.java Makefile.in: Rebuilt. 2002-08-21 18:54:07 +00:00
ProtocolException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ServerSocket.java re PR libgcj/10868 (java.net.ServerSocket's constructors create and leak extra sockets) 2003-08-07 07:30:16 +01:00
Socket.java re PR libgcj/10868 (java.net.ServerSocket's constructors create and leak extra sockets) 2003-08-07 07:30:16 +01:00
SocketAddress.java 2003-01-14 Michael Koch <konqueror@gmx.de> 2003-01-14 21:44:48 +00:00
SocketException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
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
SocketInputStream.java 2003-06-24 Michael Koch <konqueror@gmx.de> 2003-06-24 11:07:23 +00:00
SocketOptions.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
SocketOutputStream.java 2003-06-24 Michael Koch <konqueror@gmx.de> 2003-06-24 11:07:23 +00:00
SocketPermission.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
SocketTimeoutException.java Makefile.in: Rebuilt. 2002-08-21 18:54:07 +00:00
UnknownHostException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnknownServiceException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
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 Makefile.in: Rebuilt. 2002-08-21 18:54:07 +00:00
URL.java 2003-08-02 Michael Koch <konqueror@gmx.de> 2003-08-02 06:31:02 +00:00
URLClassLoader.java URLClassLoader.java (addURL): Moved implementation to private addURLImpl() to avoid calling addURL from the... 2003-07-19 15:47:56 +00:00
URLConnection.java HttpURLConnection.java, [...]: Reworked import statements. 2003-06-19 15:08:22 +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 URL.java: Renamed "handler" to "ph" in the whole file to match classpaths version. 2003-06-24 20:22:48 +00:00
URLStreamHandlerFactory.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00