diff options
author | liulvping <liulvping@xiaomi.com> | 2020-12-30 09:46:50 +0800 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2021-01-11 10:59:42 +0000 |
commit | 7d4a71ee0ecab7bf65086c786fb5358444dd2a8f (patch) | |
tree | c6656cd3aba27ce75bfc560ed7257185883b3daa /test/ProfileTestMultiDex/Main.java | |
parent | 72d3195772de83f74d940d461c75ffccd4b30272 (diff) |
Don't wrap exception when transaction is aborted
In unstarted runtime,to abort a transaction we use
a fake exception named TransactionAbortError which
should never be caught by the bytecode, therefore
it makes no sense to wrap it, else invoking the
constructor for the wrap exception could violate
the write value constraint in transaction.
It's a difficult to write a regression test which
need compile a dex file with a class that uses
special reflection in <clinit> as a boot image
extension.
Test: m test-art-host-gtest
Bug: 176505353
Signed-off-by: liulvping <liulvping@xiaomi.com>
Change-Id: I0f0e0317d140b48e38169b4eb6a68d8749708e41
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions