Commit 2ac945d2 authored by Kenny Root's avatar Kenny Root
Browse files

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
parent 1e5c824b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment