diff options
author | Kenny Root <kroot@google.com> | 2016-10-20 11:12:26 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2016-10-24 19:30:13 +0000 |
commit | 2ac945d29ed72c3fa31494bba328087313a5d54d (patch) | |
tree | 84c8dc02697043c3d285e119ee293e497eaf9588 /annotations/generate_annotated_java_files.py | |
parent | 1e5c824b4fd9622e8e04d5dcaf9f2c95bc7abddd (diff) |
Use reflection to increase Security version on Android
The SSLSocketFactory test was using Android-specific calls to test
whether the cache is cleared when a new Provider is installed. This
method does not exist on the RI, so in order to run this test on the RI
the call to Security#increaseVersion must use reflection.
Test: vogar --mode host --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-support-hostdex_intermediates/classes.jack --classpath out/host/common/obj/JAVA_LIBRARIES/core-tests-hostdex_intermediates/classes.jack libcore/luni/src/test/java/libcore/javax/net/ssl/SSLSocketFactoryTest.java
Change-Id: I54f7d17a716142816e9fd726626e92e36d1e8608
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions