ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49513] <hostinfo> does not correctly set hostname when ip is link-local
Date Sun, 29 Aug 2010 17:32:42 GMT

--- Comment #3 from 2010-08-29 13:32:40 EDT ---
In my ex(In reply to comment #1)
> getLocalHost() is only specified to return an address of the machine. There is
> no reason that in general the one or the other address selected by this method
> is better than any other address available on the system. While in your case
> apparently the selected address of getLocalHost is "better" there is no
> guarantee that this is the case for others, or will remain true in the future.
> Please also see
> for a more elaborate explanation.

In my experience what getLocalHost() returns is consistent with what `hostname`
returns on Linux machines.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message