OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae36b4a
)
Revert "ART: Workaround for b/20019689"
author
Sebastien Hertz
<shertz@google.com>
Thu, 2 Apr 2015 09:09:04 +0000
(09:09 +0000)
committer
Sebastien Hertz
<shertz@google.com>
Fri, 3 Apr 2015 07:52:02 +0000
(09:52 +0200)
This reverts commit
328dd4457632f59e67d08d9d086670b56141a4b1
.
Bug:
20019689
Change-Id: Ia1087e45d1a1817b6ff4e45f8d74b84d34f078ee
runtime/transaction.cc
patch
|
blob
|
history
diff --git
a/runtime/transaction.cc
b/runtime/transaction.cc
index
5b8d23b
..
9b205c3
100644
(file)
--- a/
runtime/transaction.cc
+++ b/
runtime/transaction.cc
@@
-76,11
+76,7
@@
void Transaction::ThrowAbortError(Thread* self, bool rethrow) {
<< " while transaction is not aborted";
}
std::string abort_msg(GetAbortMessage());
- // Temporary workaround for b/20019689.
- if (self->IsExceptionPending()) {
- self->ClearException();
- }
- self->ThrowNewException(Transaction::kAbortExceptionSignature, abort_msg.c_str());
+ self->ThrowNewWrappedException(Transaction::kAbortExceptionSignature, abort_msg.c_str());
}
bool Transaction::IsAborted() {