diff options
author | Vladimir Marko <vmarko@google.com> | 2021-03-31 11:16:22 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2021-03-31 14:12:53 +0000 |
commit | ac57691c29ffa8a31d0b789492ee3f904c059f89 (patch) | |
tree | 928969620553619e0fede06c18967c182a4b32aa /test/ProfileTestMultiDex | |
parent | 9d393d52fe27199325c7c123533fbc513a8af454 (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
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions