diff options
| author | Narayan Kamath <narayan@google.com> | 2016-04-22 14:46:18 +0100 |
|---|---|---|
| committer | Narayan Kamath <narayan@google.com> | 2016-04-22 15:06:22 +0000 |
| commit | 30a12fedf2b586779e268818d9b2d520787a018b (patch) | |
| tree | 21d9d693cbf51691fbc9982f25b4131468cfd578 /include/ScopedJavaUnicodeString.h | |
| parent | 7564dd838ff7bd6730fc1939e149bd5302fd65e0 (diff) | |
Inet6Address: Provide an explicit hostname for the ANY address.
Inet6Address.ANY was being constructed with a null hostname. This
meant that the first call to getHostName() would set its hostname
to "::". This means that Inet6Address.ANY.toString() would be differ
depending on whether or not getHostName was called. While this is true
of all InetAddresses, it's especially bad behaviour for an address
object that's essentially treated as immutable.
bug: 28294969
Change-Id: I51c1e0bd3da34ac65dfc0739e969b831dc2aeb89
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
