summaryrefslogtreecommitdiff
path: root/jsr166-tests/src/test/java/jsr166/ConcurrentHashMapTest.java
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2016-03-03 23:34:56 -0800
committerKenny Root <kroot@google.com>2016-03-04 12:43:47 -0800
commit1ce90cc78f833da6ff674fb2028f2560938313ec (patch)
tree44d2e5309e71ac497247abb7247927fabb8a8ac2 /jsr166-tests/src/test/java/jsr166/ConcurrentHashMapTest.java
parent3a7c42e33ad0c5f5e11b64161781ca24b8f82a6d (diff)
SSLSocketTest: make endpoint verification tests not depend on DNS
Apparently 127.0.0.2 resolves to localhost in some places, so use a serialization trick to write an arbitrary hostname into an InetSocketAddress. This allows us to substitute any valid SNI hostname during testing. (cherry picked from commit 9958d3c59c0b774238bf5a2e06758c11fbb702de) Bug: 27271561 Change-Id: If2351c424bc1f1193a42fe93a983948a19ae7ec2
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/ConcurrentHashMapTest.java')
0 files changed, 0 insertions, 0 deletions