--- old/src/hotspot/share/prims/jni.cpp 2019-09-05 16:38:36.000000000 -0700 +++ new/src/hotspot/share/prims/jni.cpp 2019-09-05 16:38:36.000000000 -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)));