OSDN Git Service

ART: Reload class on miranda method in verifier
authorAndreas Gampe <agampe@google.com>
Fri, 5 Jun 2015 05:19:58 +0000 (22:19 -0700)
committerAndreas Gampe <agampe@google.com>
Sun, 7 Jun 2015 22:29:40 +0000 (15:29 -0700)
commitd9e230185873d9d998d77d17107029e0603e82d6
tree7362a7e9a9f91591b36c3efdcebcb7cc0621649e
parent38b66b6fed1adcc1da4b931a32f78c5290a97c1e
ART: Reload class on miranda method in verifier

When checking the receiver of a call and we have a miranda method,
reload the class from the method index instead of using the declared
class - which is the interface class, not the abstract class.

Bug: 21646347
Change-Id: I5bceab75c3b76233cb42ea5cf0214d32c8149994
runtime/verifier/method_verifier.cc
test/135-MirandaDispatch/expected.txt
test/135-MirandaDispatch/smali/b_21646347.smali [new file with mode: 0644]
test/135-MirandaDispatch/src/Main.java