diff options
| author | Neil Fuller <nfuller@google.com> | 2016-06-13 11:37:42 +0100 |
|---|---|---|
| committer | Neil Fuller <nfuller@google.com> | 2016-06-13 13:50:26 +0100 |
| commit | 21d479dc790dfe7b9f0d38b3820b49b563ce734a (patch) | |
| tree | 114ad386a9d6fb0627605a80641d9750742500e8 /include/ScopedJavaUnicodeString.h | |
| parent | 38477dc35488c8c210e0c84f56d72d79259cdb9a (diff) | |
Fix name constant used in Inet6Address.LOOPBACK
In Android M, the name for the IPv6 loopback was set as
"ip6-localhost" to match the /etc/hosts file. The switch
to OpenJDK partly reverted this, but only the hardcoded
name on Inet6Address.LOOPBACK.
Looking up "localhost" and "ip6-localhost" by name
still yielded the correct result, i.e. the IPv4 and IPv6
address accordingly.
The inconsistency only appears to lie in the name
constant. This change adds an explicit check for the
names: previously it was only hinted at.
Also reinstitute some DNS lookup testing.
Bug: 29311351
Change-Id: I0fb7d290989a40de8870567a072daab96276be77
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
