commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: java.net socket classes


From: Michael Koch
Subject: Patch: java.net socket classes
Date: Sat, 17 Jul 2004 09:39:46 +0200
User-agent: KMail/1.6.2

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

Hi list,


I just commited the attached patch with some obvious fixes for the 
java.net socket classes. This fixes classpath bug #9280.


Michael


2004-07-17  Michael Koch  <address@hidden>

        * 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+NfFWSOgCCdjSDsRAvVdAJ4xklRA+Zo6oFVcNXMbK1+mJ/EFzACgkiPt
AkJOHLn9Gaf36NIGJ/Ggxm0=
=fMA+
-----END PGP SIGNATURE-----

Attachment: net.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]