commit | 1ba63c8bf85c1dfcc8cf2cb9c6402fee43342877 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Sat Dec 01 17:30:10 2018 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Mon Dec 03 19:03:43 2018 +0000 |
tree | adaa71bd6f9df028cbf94cd1fbbc4dcfb3d81382 | |
parent | 54be7bfba3e3efe021e70299e2fd6d62c1aef813 [diff] |
Add fields to ClassExt to store pre-redefine DexFile pointer Hidden API access checks refer to the dex file of a class to read the access flags of a given method/field. The pointer to the dex file is lost when the class is redefined with JVMTI. Add two fields to ClassExt which will preserve the DexFile pointer and ClassDef index of the redefined class. Bug: 119688837 Test: m test-art Change-Id: I4808a9bd9f9d29849a342355de6369fbce969b87