summaryrefslogtreecommitdiff
path: root/runtime/reflection_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/reflection_test.cc')
-rw-r--r--runtime/reflection_test.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/reflection_test.cc b/runtime/reflection_test.cc
index d307ba0cca..f65a244fef 100644
--- a/runtime/reflection_test.cc
+++ b/runtime/reflection_test.cc
@@ -103,9 +103,7 @@ class ReflectionTest : public CommonRuntimeTest {
MakeInterpreted(class_linker_->FindSystemClass(self, "Ljava/lang/Object;"));
}
- ObjPtr<mirror::Class> c = class_linker_->FindClass(self,
- DotToDescriptor(class_name).c_str(),
- class_loader);
+ ObjPtr<mirror::Class> c = FindClass(DotToDescriptor(class_name).c_str(), class_loader);
CHECK(c != nullptr);
MakeInterpreted(c);