|
From: | Michael Koch |
Subject: | [commit-cp] classpath ./ChangeLog java/net/Inet4Address.jav... |
Date: | Fri, 15 Oct 2004 06:03:00 -0400 |
CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Michael Koch <address@hidden> 04/10/15 09:56:00 Modified files: . : ChangeLog java/net : Inet4Address.java Inet6Address.java InetAddress.java Log message: 2004-10-15 Michael Koch <address@hidden> * java/net/Inet4Address.java (writeReplace): Use two-argument constructor of InetAddress. (Inet4Address): Remove unused constructors. Use two-argument constructor of InetAddress in remaining constructor. * java/net/Inet6Address.java (Inet6Address): Use two-argument constructor of InetAddress. * java/net/InetAddress.java (LOCALHOST): New static field to store object for localhost. (static): Initialize LOCALHOST. (hostname_alias): Removed. (InetAdress): Removed hostname_alias argument. (getHostName): Don't handle alias anymore. (getCanonicalHostName): New method. (toString): Don't handle alias anymore. (getByName): Simply call getAllByName() and return its first result entry. (getAllByName): Handle null argument properly. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.2640&tr2=1.2641&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/net/Inet4Address.java.diff?tr1=1.11&tr2=1.12&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/net/Inet6Address.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/net/InetAddress.java.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
[Prev in Thread] | Current Thread | [Next in Thread] |