commit | dae24142127c64551142a50423085aabdb0a6060 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Thu Dec 03 17:27:32 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Tue Dec 08 08:50:12 2015 -0800 |
tree | 35c06bc37e2dd2caad4fef1fba4de16a12aad6f9 | |
parent | ef45113d01c16102538a8848d6979e772dad6225 [diff] |
ART: Check invoke-interface earlier in verifier Invoke-interface should only be called on an interface method. Move the check earlier, as otherwise we'll try to resolve and potentially inject a method into the dex cache. Also templatize ResolveMethod with a version always checking the invoke type, and on a cache miss check whether type target type is an interface when an interface invoke type was given. Bug: 21869691 Change-Id: Ica27158f675b5aa223d9229248189612f4706832