Fix for test 069.
Can't throw exception in fast interface lookup. Extra debugging that
methods look sane when creating native to managed records.
Change-Id: If0b970c418db5ff075334af8359541a94e8680b7
diff --git a/src/runtime_support.cc b/src/runtime_support.cc
index ccb8dcc..5550c2f 100644
--- a/src/runtime_support.cc
+++ b/src/runtime_support.cc
@@ -869,7 +869,7 @@
Method* interface_method = caller_method->GetDexCacheResolvedMethods()->Get(method_idx);
Method* found_method = NULL; // The found method
if (LIKELY(interface_method != NULL && this_object != NULL)) {
- found_method = this_object->GetClass()->FindVirtualMethodForInterface(interface_method);
+ found_method = this_object->GetClass()->FindVirtualMethodForInterface(interface_method, false);
}
if (UNLIKELY(found_method == NULL)) {
FinishCalleeSaveFrameSetup(thread, sp, Runtime::kRefsAndArgs);
@@ -887,7 +887,7 @@
return 0;
}
}
- found_method = this_object->GetClass()->FindVirtualMethodForInterface(interface_method);
+ found_method = this_object->GetClass()->FindVirtualMethodForInterface(interface_method, true);
if (found_method == NULL) {
CHECK(thread->IsExceptionPending());
return 0;