--- a/src/hotspot/share/prims/jni.cpp Mon Sep 09 18:23:39 2019 +0100
+++ b/src/hotspot/share/prims/jni.cpp Mon Sep 09 11:04:04 2019 -0700
@@ -417,7 +417,7 @@
}
TempNewSymbol sym = SymbolTable::new_symbol(name);
- result = find_class_from_class_loader(env, sym, true, loader,
+ result = find_class_from_class_loader(env, sym, true, true, loader,
protection_domain, true, thread);
if (log_is_enabled(Debug, class, resolve) && result != NULL) {
@@ -3289,7 +3289,7 @@
Handle protection_domain; // null protection domain
TempNewSymbol sym = SymbolTable::new_symbol(name);
- jclass result = find_class_from_class_loader(env, sym, true, loader, protection_domain, true, CHECK_NULL);
+ jclass result = find_class_from_class_loader(env, sym, true, 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)));