diff options
Diffstat (limited to 'runtime/java_vm_ext.h')
-rw-r--r-- | runtime/java_vm_ext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/java_vm_ext.h b/runtime/java_vm_ext.h index 85597695af..8cae1e52d2 100644 --- a/runtime/java_vm_ext.h +++ b/runtime/java_vm_ext.h @@ -85,8 +85,9 @@ class JavaVMExt : public JavaVM { * Returns 'true' on success. On failure, sets 'error_msg' to a * human-readable description of the error. */ - bool LoadNativeLibrary(JNIEnv* env, const std::string& path, jobject javaLoader, - jstring library_path, jstring permitted_path, std::string* error_msg); + bool LoadNativeLibrary(JNIEnv* env, const std::string& path, jobject class_loader, + bool is_shared_namespace, jstring library_path, jstring permitted_path, + std::string* error_msg); // Unload native libraries with cleared class loaders. void UnloadNativeLibraries() |