summaryrefslogtreecommitdiffstats
path: root/runtime/base/unix_file/mapped_file.cc
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-10-31 00:01:54 -0700
committerBrian Carlstrom <bdc@google.com>2014-10-31 11:55:17 -0700
commitf322c4cb1290a53e3fc4dca4217810484ecc8f20 (patch)
treee185062a7136e978d48dcd28413f162db43284a1 /runtime/base/unix_file/mapped_file.cc
parent57b4d1c44e246dfd4aaef2d23b20a696a0c5e57e (diff)
downloadandroid_art-f322c4cb1290a53e3fc4dca4217810484ecc8f20.tar.gz
android_art-f322c4cb1290a53e3fc4dca4217810484ecc8f20.tar.bz2
android_art-f322c4cb1290a53e3fc4dca4217810484ecc8f20.zip
Fix FindDeclaredVirtualMethod(DexCache...) for miranda methods
If a class in classes.dex implements an interface from classes2.dex, the miranda method will be in the dex cache for classes2.dex, but pointed to by the virtual methods of the class in the dex caches for classes.dex. Therefore the fast path for DexCache::ResolveMethod that searches via class and superclass virtual methods should ensure that any method matching on dex method_idx should be from the same dex cache as the class itself, which is not the case for miranda methods. Bug: 18193682 (cherry picked from commit 9a783d6a0cb437fc0d9ffcc84502912f3d1cb73b) Change-Id: Ia44f72c2ed2701e48153d14d2c5ca4ccc4959b30
Diffstat (limited to 'runtime/base/unix_file/mapped_file.cc')
0 files changed, 0 insertions, 0 deletions