summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2021-03-31 11:16:22 +0100
committerDaniel Norman <danielnorman@google.com>2021-04-07 09:57:33 -0700
commita4606c96424832a0e6f2f544564e8461718eb4b9 (patch)
tree0b6bc847c1aa807572c61cdf2501b3614944b145 /compiler/optimizing/graph_visualizer.cc
parent806a488f17d05800f7e054c95f1767d990e91373 (diff)
dex2oat: Do not crash on InitializeClass() exceptions.
Previously `ClassLinker::EnsureInitialized()` could have returned with a pending exception even when initializing fields and parents was not allowed and the CompilerDriver did not expect it, leading to a crash. Change the behavior to consistently suppress exceptions when initializing fields and/or parents is not allowed. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 184094466 Change-Id: I6a8af8c1da792c946f8f52ed4513ab1f0ccf2c9f (cherry picked from commit ac57691c29ffa8a31d0b789492ee3f904c059f89)
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions