diff options
author | David Brazdil <dbrazdil@google.com> | 2018-08-20 17:25:28 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-08-20 17:35:13 +0100 |
commit | 03cca37570d80897f73570d57ce96f9727fc9a48 (patch) | |
tree | e0193de2bad51564bf561d73f5d56c31f6779652 /compiler/optimizing/graph_visualizer.cc | |
parent | ea82529238b18f0b5cffa368efa3450cdcfd063c (diff) |
Fix unhiding API in JVMTI redefine run-tests
When JVMTI redefines a boot classpath dex file, it creates a copy of
it, reverts quickening and removes hidden API access flags. This logic
would not, however, remove hidden API access flags when there is a vdex
but no quickening info. This patch changes the logic to unhide API
unconditionally. Production code is not affected as not unhiding merely
trips a DCHECK.
Bug: 111694487
Test: art/test/testrunner/testrunner.py --interp-ac --target \
-t 980-redefine-object -t 983-source-transform-verify
Change-Id: I3a2987e19faa0ddf299a1ebbd72cc975b93aeebf
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions