diff options
Diffstat (limited to 'compiler/image_writer.cc')
-rw-r--r-- | compiler/image_writer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index 58f66b9a35..c8447beaa5 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -401,7 +401,8 @@ ObjectArray<Object>* ImageWriter::CreateImageRoots() const { Runtime* runtime = Runtime::Current(); ClassLinker* class_linker = runtime->GetClassLinker(); Thread* self = Thread::Current(); - SirtRef<Class> object_array_class(self, class_linker->FindSystemClass("[Ljava/lang/Object;")); + SirtRef<Class> object_array_class(self, class_linker->FindSystemClass(self, + "[Ljava/lang/Object;")); // build an Object[] of all the DexCaches used in the source_space_ ObjectArray<Object>* dex_caches = ObjectArray<Object>::Alloc(self, object_array_class.get(), |