--- a/src/hotspot/share/prims/jni.cpp Mon Nov 04 11:05:10 2019 -0800
+++ b/src/hotspot/share/prims/jni.cpp Mon Nov 04 11:42:24 2019 -0800
@@ -419,7 +419,7 @@
}
TempNewSymbol sym = SymbolTable::new_symbol(name);
- result = find_class_from_class_loader(env, sym, true, true, loader,
+ result = find_class_from_class_loader(env, sym, true, loader,
protection_domain, true, thread);
if (log_is_enabled(Debug, class, resolve) && result != NULL) {
@@ -3208,7 +3208,7 @@
Handle protection_domain; // null protection domain
TempNewSymbol sym = SymbolTable::new_symbol(name);
- jclass result = find_class_from_class_loader(env, sym, true, true, loader, protection_domain, true, CHECK_NULL);
+ jclass result = find_class_from_class_loader(env, sym, true, loader, protection_domain, true, CHECK_NULL);
if (log_is_enabled(Debug, class, resolve) && result != NULL) {
trace_class_resolution(java_lang_Class::as_Klass(JNIHandles::resolve_non_null(result)));