diff options
author | Vladimir Marko <vmarko@google.com> | 2021-03-31 11:16:22 +0100 |
---|---|---|
committer | Daniel Norman <danielnorman@google.com> | 2021-04-07 09:57:33 -0700 |
commit | a4606c96424832a0e6f2f544564e8461718eb4b9 (patch) | |
tree | 0b6bc847c1aa807572c61cdf2501b3614944b145 /test/ProfileTestMultiDex | |
parent | 806a488f17d05800f7e054c95f1767d990e91373 (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 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions