summaryrefslogtreecommitdiff
path: root/runtime/mirror/class.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-03-04 11:13:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-03-04 11:13:17 +0000
commit3d7d2af4c6502b771b032ee9bf3ab30e78f9c60d (patch)
treecc15416fa8208661fe98a19055fa4c98010a0e53 /runtime/mirror/class.cc
parent87896b3a1f97c815fe02c7490c1f27951c58bbbf (diff)
parent7642cfc90fc9c3ebfd8e3b5041915705c93b5cf0 (diff)
Merge "Change how we report exceptions to the debugger."
Diffstat (limited to 'runtime/mirror/class.cc')
-rw-r--r--runtime/mirror/class.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/mirror/class.cc b/runtime/mirror/class.cc
index ae684b162c..96b15dd676 100644
--- a/runtime/mirror/class.cc
+++ b/runtime/mirror/class.cc
@@ -84,7 +84,6 @@ void Class::SetStatus(Status new_status, Thread* self) {
Handle<mirror::Object> old_throw_this_object(hs.NewHandle(old_throw_location.GetThis()));
Handle<mirror::ArtMethod> old_throw_method(hs.NewHandle(old_throw_location.GetMethod()));
uint32_t old_throw_dex_pc = old_throw_location.GetDexPc();
- bool is_exception_reported = self->IsExceptionReportedToInstrumentation();
Class* eiie_class;
// Do't attempt to use FindClass if we have an OOM error since this can try to do more
// allocations and may cause infinite loops.
@@ -113,7 +112,6 @@ void Class::SetStatus(Status new_status, Thread* self) {
ThrowLocation gc_safe_throw_location(old_throw_this_object.Get(), old_throw_method.Get(),
old_throw_dex_pc);
self->SetException(gc_safe_throw_location, old_exception.Get());
- self->SetExceptionReportedToInstrumentation(is_exception_reported);
}
static_assert(sizeof(Status) == sizeof(uint32_t), "Size of status not equal to uint32");
if (Runtime::Current()->IsActiveTransaction()) {