mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user