From 7642cfc90fc9c3ebfd8e3b5041915705c93b5cf0 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 26 Feb 2015 10:56:09 +0000 Subject: Change how we report exceptions to the debugger. This is only a refactoring/cleanup. Bug fixes with respect to catch location, and more cleanups will follow. Change-Id: I30d3c6260b0c8f8115a811621397225b88f2063a --- runtime/mirror/class.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime/mirror/class.cc') 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 old_throw_this_object(hs.NewHandle(old_throw_location.GetThis())); Handle 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()) { -- cgit v1.2.3-59-g8ed1b