summaryrefslogtreecommitdiff
path: root/runtime/native/dalvik_system_VMRuntime.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-11-07 10:07:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-11-07 10:07:29 +0000
commitc2cab4b11b95147dd9dadb3378e10a891ee64ad6 (patch)
tree8595e62d3aa3dad700c3deec7765afacc6a9b963 /runtime/native/dalvik_system_VMRuntime.cc
parentb70c999fcc3ff4d4988e0214f4d18783ff35edf7 (diff)
parent9186b182c0e0e5d57dc15a03e4f8d0f2951f3a96 (diff)
Merge "Refactor ClassLinker::FindPrimitiveClass()."
Diffstat (limited to 'runtime/native/dalvik_system_VMRuntime.cc')
-rw-r--r--runtime/native/dalvik_system_VMRuntime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native/dalvik_system_VMRuntime.cc b/runtime/native/dalvik_system_VMRuntime.cc
index 32b88e6fa1..49b71cd801 100644
--- a/runtime/native/dalvik_system_VMRuntime.cc
+++ b/runtime/native/dalvik_system_VMRuntime.cc
@@ -371,7 +371,7 @@ static void PreloadDexCachesResolveType(Thread* self,
const char* class_name = dex_file->StringByTypeIdx(type_idx);
ClassLinker* linker = Runtime::Current()->GetClassLinker();
ObjPtr<mirror::Class> klass = (class_name[1] == '\0')
- ? linker->FindPrimitiveClass(class_name[0])
+ ? linker->LookupPrimitiveClass(class_name[0])
: linker->LookupClass(self, class_name, nullptr);
if (klass == nullptr) {
return;