summaryrefslogtreecommitdiff
path: root/runtime/interpreter/unstarted_runtime_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/interpreter/unstarted_runtime_test.h')
-rw-r--r--runtime/interpreter/unstarted_runtime_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/interpreter/unstarted_runtime_test.h b/runtime/interpreter/unstarted_runtime_test.h
index 465a4268ea..eb0a28aaec 100644
--- a/runtime/interpreter/unstarted_runtime_test.h
+++ b/runtime/interpreter/unstarted_runtime_test.h
@@ -85,8 +85,8 @@ class UnstartedRuntimeTestBase : public CommonRuntimeTest {
StackHandleScope<2> hs(self);
// Create the fake boot classloader. Any instance is fine, they are technically interchangeable.
- Handle<mirror::Class> boot_cp_class = hs.NewHandle(class_linker_->FindClass(
- self, "Ljava/lang/BootClassLoader;", ScopedNullHandle<mirror::ClassLoader>()));
+ Handle<mirror::Class> boot_cp_class = hs.NewHandle(
+ FindClass("Ljava/lang/BootClassLoader;", ScopedNullHandle<mirror::ClassLoader>()));
CHECK(boot_cp_class != nullptr);
CHECK(class_linker_->EnsureInitialized(
self, boot_cp_class, /*can_init_fields=*/ true, /*can_init_parents=*/ true));