summaryrefslogtreecommitdiff
path: root/runtime/proxy_test.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2015-12-15 22:15:34 +0000
committer Alex Light <allight@google.com> 2015-12-15 22:15:34 +0000
commit2efb0aa57da168944f99a2d13aed2a426cfa76e7 (patch)
tree5ca742f9a2a89f9c3c588f6f1863ab55bbdb5c5c /runtime/proxy_test.cc
parent9539150b85142c18e9e8c2264b5b6100942667c3 (diff)
Revert "Combine direct_methods_ and virtual_methods_ fields of mirror::Class"
This reverts commit 9539150b85142c18e9e8c2264b5b6100942667c3. Change-Id: I596876cd643ec0ad524a56621efb6b89e8886230
Diffstat (limited to 'runtime/proxy_test.cc')
-rw-r--r--runtime/proxy_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/proxy_test.cc b/runtime/proxy_test.cc
index 4d9ca6d440..57472adb64 100644
--- a/runtime/proxy_test.cc
+++ b/runtime/proxy_test.cc
@@ -79,7 +79,7 @@ class ProxyTest : public CommonCompilerTest {
mirror::Method::CreateFromArtMethod(soa.Self(), method)));
// Now adds all interfaces virtual methods.
for (mirror::Class* interface : interfaces) {
- for (auto& m : interface->GetDeclaredVirtualMethods(sizeof(void*))) {
+ for (auto& m : interface->GetVirtualMethods(sizeof(void*))) {
soa.Env()->SetObjectArrayElement(
proxyClassMethods, array_index++, soa.AddLocalReference<jobject>(
mirror::Method::CreateFromArtMethod(soa.Self(), &m)));