mirror of
https://github.com/corda/corda.git
synced 2025-06-14 05:08:18 +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:
@ -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() {
|
||||
|
Reference in New Issue
Block a user