diff options
Diffstat (limited to 'openjdkjvmti/ti_method.cc')
-rw-r--r-- | openjdkjvmti/ti_method.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/openjdkjvmti/ti_method.cc b/openjdkjvmti/ti_method.cc index 6150a4692b..bf89b6e476 100644 --- a/openjdkjvmti/ti_method.cc +++ b/openjdkjvmti/ti_method.cc @@ -642,15 +642,19 @@ class CommonLocalVariableClosure : public art::Closure { art::Runtime* runtime = art::Runtime::Current(); art::ClassLinker* class_linker = runtime->GetClassLinker(); art::ArenaPool* arena_pool = runtime->GetArenaPool(); - art::verifier::RegTypeCache reg_types( - self, class_linker, arena_pool, /* can_load_classes= */ false, /* can_suspend= */ false); + art::verifier::RegTypeCache reg_types(self, + class_linker, + arena_pool, + class_loader, + dex_cache->GetDexFile(), + /* can_load_classes= */ false, + /* can_suspend= */ false); std::unique_ptr<art::verifier::MethodVerifier> verifier( art::verifier::MethodVerifier::CalculateVerificationInfo( self, ®_types, method, dex_cache, - class_loader, dex_pc)); if (verifier == nullptr) { JVMTI_LOG(WARNING, jvmti_) << "Unable to extract verification information from " |