summaryrefslogtreecommitdiff
path: root/runtime/hidden_api_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/hidden_api_test.cc')
-rw-r--r--runtime/hidden_api_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/hidden_api_test.cc b/runtime/hidden_api_test.cc
index eff54bd861..b16c42f1a7 100644
--- a/runtime/hidden_api_test.cc
+++ b/runtime/hidden_api_test.cc
@@ -626,8 +626,8 @@ TEST_F(HiddenApiTest, CheckMemberSignatureForProxyClass) {
hs.NewHandle(soa.Decode<mirror::ClassLoader>(jclass_loader_)));
// Find interface we will create a proxy for.
- Handle<mirror::Class> h_iface(hs.NewHandle(
- class_linker_->FindClass(soa.Self(), "Lmypackage/packagea/Interface;", class_loader)));
+ Handle<mirror::Class> h_iface =
+ hs.NewHandle(FindClass("Lmypackage/packagea/Interface;", class_loader));
ASSERT_TRUE(h_iface != nullptr);
// Create the proxy class.