diff options
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index f842265d29..719f0caad8 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -4744,9 +4744,16 @@ verifier::FailureKind ClassLinker::PerformClassVerification(Thread* self, verifier::HardFailLogMode log_level, std::string* error_msg) { Runtime* const runtime = Runtime::Current(); + StackHandleScope<2> hs(self); + Handle<mirror::DexCache> dex_cache(hs.NewHandle(klass->GetDexCache())); + Handle<mirror::ClassLoader> class_loader(hs.NewHandle(klass->GetClassLoader())); return verifier::ClassVerifier::VerifyClass(self, verifier_deps, - klass.Get(), + dex_cache->GetDexFile(), + klass, + dex_cache, + class_loader, + *klass->GetClassDef(), runtime->GetCompilerCallbacks(), runtime->IsAotCompiler(), log_level, |