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
1 file changed