InetAddress.java (loopbackAddress): Renamed from localhostAddress.
authorBryce McKinlay <mckinlay@redhat.com>
Fri, 13 Aug 2004 22:17:34 +0000 (22:17 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Fri, 13 Aug 2004 22:17:34 +0000 (23:17 +0100)
commitd7945fafe30409970df153ece1ad881776a49747
tree71045c3b297bbcfcc11626a043b6935f90d3b53f
parent1ef02b9de5bc2b05d07e2fa15d5f62b7fa6ddfdd
InetAddress.java (loopbackAddress): Renamed from localhostAddress.

2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>

* java/net/InetAddress.java (loopbackAddress): Renamed from
localhostAddress.
(getByName): Return loopback address for null hostname, without
security check. Use lookup(), not getAllByName.
(getAllByName): Return loopback address for null hostname, without
security check.
* java/net/natInetAddressPosix.cc (lookup): Don't perform security
check here.

From-SVN: r85967
libjava/ChangeLog
libjava/java/net/InetAddress.java
libjava/java/net/natInetAddressPosix.cc