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

@ -29,7 +29,7 @@ public class Runtime {
public void load(String path) {
if (path != null) {
load(path, false);
ClassLoader.load(path, ClassLoader.getCaller(), false);
} else {
throw new NullPointerException();
}
@ -37,7 +37,7 @@ public class Runtime {
public void loadLibrary(String path) {
if (path != null) {
load(path, true);
ClassLoader.load(path, ClassLoader.getCaller(), true);
} else {
throw new NullPointerException();
}
@ -120,8 +120,6 @@ public class Runtime {
private static native int waitFor(long pid, long tid);
private static native void load(String name, boolean mapName);
private static native void kill(long pid);
public native void gc();