[multiple changes]
authorMichael Koch <mkoch@gcc.gnu.org>
Sat, 17 Jul 2004 11:17:28 +0000 (11:17 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Sat, 17 Jul 2004 11:17:28 +0000 (11:17 +0000)
commit320e32f649fa1c9e4ae6832552c478653d605121
treee934e1ac095dfb7259f339c2194657fa45f964a2
parent4928181ca2157ee10db623931316a05288822bb3
[multiple changes]

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.

From-SVN: r84864
libjava/ChangeLog
libjava/java/net/DatagramPacket.java
libjava/java/net/DatagramSocket.java
libjava/java/net/Socket.java