fix JNIEnv::FindClass calls from JNI_OnLoad for all supported class libraries

This also fixes the some Android build rot and updates the version of
OpenSSL used.
This commit is contained in:
Joel Dice
2014-07-01 10:18:45 -06:00
parent 735eaaba21
commit 5d3c612d0e
13 changed files with 157 additions and 75 deletions

View File

@ -108,11 +108,11 @@ public abstract class System {
private static native String doMapLibraryName(String name);
public static void load(String path) {
Runtime.getRuntime().load(path);
ClassLoader.load(path, ClassLoader.getCaller(), false);
}
public static void loadLibrary(String name) {
Runtime.getRuntime().loadLibrary(name);
ClassLoader.load(name, ClassLoader.getCaller(), true);
}
public static void gc() {