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
1 file changed