| commit | 813a86307e1f3437ed9d17aeea2c5c6ffcda5c67 | [log] [tgz] |
|---|---|---|
| author | Vladimir Marko <vmarko@google.com> | Thu Nov 29 16:17:01 2018 +0000 |
| committer | Vladimir Marko <vmarko@google.com> | Thu Nov 29 17:54:54 2018 +0000 |
| tree | 6ab0118464a3f721dc967d52a9607a96ce6e4188 | |
| parent | 7e09737125ddb8c6f243ac1882d2a23da3f109c4 [diff] |
Use ArtMethod::GetDex{File,Cache}() more.
Do not go through the declaring class when it can cause
a DexFile or DexCache mismatch for obsolete methods.
Also fix similar potential mismatch in hiddenapi.
This is a follow-up to
https://android-review.googlesource.com/834082 ,
https://android-review.googlesource.com/836008 .
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 119830111
Change-Id: I3fdf1aa1bc7bab816d5d8034b107506a32438b77