harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Kishenko" <dkishe...@gmail.com>
Subject Re: RE: [classlib][test] Configuration dependent test of InetAddress.getHostName
Date Wed, 25 Oct 2006 08:15:55 GMT
2006/10/25, Alex Blewitt <alex.blewitt@gmail.com>:
> The other possibiltiy is to fork an 'nslookup' or 'host' command
> (depending on platform) to find out what the platform thinks is the
> local host name, and then comparing it to Java's result.
On this WinServer2003 "nslookup localhost" and "nslookup 127.0.0.1" return
<skip server info>
Name:    localhost
Address:  127.0.0.1
So it will not help =(

Mime
View raw message