Patch: java.net fixes

Michael Koch konqueror@gmx.de
Tue Jul 20 00:24:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I just commited the attached patch to merge the latest java.net fixes 
from classpath to trunk.


Michael


2004-07-17  Jeroen Frijters  <jeroen@frijters.net>

	* java/net/DatagramPacket.java (setAddress): Removed check for
	null address.

2004-07-17  Michael Koch  <konqueror@gmx.de>

	* java/net/DatagramSocket.java
	(getLocalAddress): Check if socket is bound or not.
	* java/net/Socket.java
	(getLocalAddrss): Check if socket is bound or not.
	(getPort): Return -1 when not connected. Dont check getImpl() for
	null.
	(setReuseAddress): Check if socket is closed.
	(isConnected): Check if getImpl() returns null.
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA+QumWSOgCCdjSDsRAubhAJ406WGxVgqnxWGMR/Ip/ZC0qiZrFgCghFRE
RUre680w/CCK4HNCOp6i5Hs=
=Qkhu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net.diff
Type: text/x-diff
Size: 2549 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040720/8d63dbd1/attachment.bin>


More information about the Java-patches mailing list