diff options
| author | 2019-06-27 07:54:48 +0000 | |
|---|---|---|
| committer | 2019-06-27 08:16:04 +0000 | |
| commit | b476a29a2cda22b86fc1d96e4cc65ce36fb878af (patch) | |
| tree | 039eaee2edf5495275088d1c467e522977c6bcd6 /runtime/thread.cc | |
| parent | 3b2905366c6ee1eaba2d6477078e505e377343ec (diff) | |
Revert "Support using opaque JNI ids"
This reverts commit 21d5994583c679cd5d8573b5d35dbd659bdca2c7.
Bug: 134162467
Reason for revert: Breaks debuggable
Change-Id: I9510a6ac208d392ff25ee196a1a519fecd151445
Diffstat (limited to 'runtime/thread.cc')
| -rw-r--r-- | runtime/thread.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc index d5aea19e87..3e83f654b5 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -4280,16 +4280,8 @@ ScopedExceptionStorage::ScopedExceptionStorage(art::Thread* self) self_->ClearException(); } -void ScopedExceptionStorage::SuppressOldException(const char* message) { - CHECK(self_->IsExceptionPending()) << *self_; - ObjPtr<mirror::Throwable> old_suppressed(excp_.Get()); - excp_.Assign(self_->GetException()); - LOG(WARNING) << message << "Suppressing old exception: " << old_suppressed->Dump(); - self_->ClearException(); -} - ScopedExceptionStorage::~ScopedExceptionStorage() { - CHECK(!self_->IsExceptionPending()) << *self_; + CHECK(!self_->IsExceptionPending()) << self_; if (!excp_.IsNull()) { self_->SetException(excp_.Get()); } |