summaryrefslogtreecommitdiff
path: root/jsr166-tests/src/test/java/jsr166/ThreadLocalRandom8Test.java
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2016-02-11 16:16:43 -0800
committerKenny Root <kroot@google.com>2016-03-10 15:26:36 -0800
commit4a703242e4014a598875205a81edaaae04b41840 (patch)
tree6c3344e1bc09768abd97ad57e549f2312f433901 /jsr166-tests/src/test/java/jsr166/ThreadLocalRandom8Test.java
parenta73ca5822d77cff8b675ead6e5a3ad190183ba1c (diff)
SSLSessionTest: compare equality of SSLSession by contents
If the SSLSession received from the cache was not the exact same object, the #getId() tests would fail. Instead compare the SSLSession by its contents. This has cropped up now because we have ExtendedSSLSession in addition to SSLSession. Conscrypt, in order to maintain backward compatibility for unbundled builds, wraps its internal SSLSession implementation with a delegating subclass of ExtendedSSLSession in order to implement newer method calls in terms of its internal implementation without sacrificing the ability to build against previous versions. (cherry picked from commit 1a3e2a79e78132f00c907a9d64cd0f5a45568796) Bug: 27123298 Change-Id: Id6b446b146941532373ab7fcfc6b3ca464b3aabf
Diffstat (limited to 'jsr166-tests/src/test/java/jsr166/ThreadLocalRandom8Test.java')
0 files changed, 0 insertions, 0 deletions