[kaffe] java.net.InetAddress.getAllByName returns wrong value for localhost

Ito Kazumitsu kaz at maczuka.gcd.org
Tue Sep 9 15:45:03 PDT 2003


Hi Guilhem,

>>>>> ":" == Guilhem Lavaux <guilhem at kaffe.org> writes:

:> getAllByName was not checking if it was an IPV6 address which was 
:> returned by getHostByName. This is now fixed. Try the last CVS and tell 
:> me if there is something wrong.

It does not throw exception now.  But I would like to get 
localhost/127.0.0.1 rather than localhost/::::::::1 .

I do not see why getHostByName returns an IPV6 address.




More information about the kaffe mailing list