diff options
author | David Brazdil <dbrazdil@google.com> | 2018-04-05 16:57:32 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2018-05-08 10:30:45 +0100 |
commit | 4525e0b62cc808a49b4cd2c826bb52a768779e72 (patch) | |
tree | aba9be998bb3684dff53b4b56c0568fb7187502e /compiler/optimizing/graph_visualizer.cc | |
parent | a8503d9696f37ff66b23016f3374ecbe59774dc6 (diff) |
Fix verifier/linker IncompatibleClassChangeError with hidden API
The verifier and class linker will attempt to find a method with
the wrong type if it could not be found with the original type,
i.e an interface method on a regular class and vice versa.
This logic did not previously take hidden API restrictions into
account and would result in bogus error messages to the user or
debug crashes.
Bug: 64382372
Bug: 77464273
Test: art/test.py -r -t 674-hiddenapi
Merged-In: If8327a70dd73b90249da3d9e505f0c6f89838f8e
Change-Id: If8327a70dd73b90249da3d9e505f0c6f89838f8e
(cherry picked from commit 54a99cfcf3d3463404fdf4152523dcc69b8648d7)
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions