summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-12-01 17:54:26 +0000
committerDavid Brazdil <dbrazdil@google.com>2018-12-03 20:19:40 +0000
commit1a6586327d9de6374f9e7ca98d071f2943b03c99 (patch)
tree1d118af8f32855ef0036080d5e8a560f14e5e482 /compiler/driver/compiler_driver_test.cc
parentd378a567a435a80be9ab7eb8bfe0359c1240c0ff (diff)
Keep pointer to original DexFile during JVMTI redefine for hiddenapi
JVMTI redefine overwrites the pointer to the class' DexFile which prevents access checks from reading the hiddenapi flags store. Store the pointer in ClassExt together with the original ClassDef index to preserve the access to flags store. Because method/field indices are still lost, the corresponding dex member is found using string comparison of member's name and type. Bug: 119688837 Test: 999-redefine-hiddenapi Change-Id: Ifdf35668e838869a971233bbaae61851014658b1
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions