diff options
author | Alex Light <allight@google.com> | 2020-01-27 17:20:28 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-01-28 21:27:20 +0000 |
commit | 3f0dca119df45ef2a7fdfc26c070677953cfcce4 (patch) | |
tree | ced5a8170092b728b038d1e581f061b27b315735 /test/ProfileTestMultiDex/Second.java | |
parent | f365affd27933d1d0771d0d5064101db18c19cc2 (diff) |
Ensure IsStructurallyRedefinable takes into account subtypes
Structural-redefinition changes the addresses of the ArtFields and
ArtMethods of the class being redefined and all of its subclasses. For
this reason if there are JNI-ids that are pointers to these anywhere
we cannot allow structural redefinition of the class, even if the
pointers are for subtypes. Previously we didn't check the
redefinability of sub-types so we could incorrectly invalidate jmethod
or jfield IDs.
Test: ./test.py --host
Bug: 148414638
Change-Id: I8fc809a43e16d5e7938b90b00c531573a2edca00
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions