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/entrypoints/entrypoint_utils-inl.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'runtime/entrypoints/entrypoint_utils-inl.h') diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h index 35579d66d4..9d84e4ac48 100644 --- a/runtime/entrypoints/entrypoint_utils-inl.h +++ b/runtime/entrypoints/entrypoint_utils-inl.h @@ -614,7 +614,6 @@ inline void UnlockJniSynchronizedMethod(jobject locked, Thread* self) { // Save any pending exception over monitor exit call. mirror::Throwable* saved_exception = NULL; ThrowLocation saved_throw_location; - bool is_exception_reported = self->IsExceptionReportedToInstrumentation(); if (UNLIKELY(self->IsExceptionPending())) { saved_exception = self->GetException(&saved_throw_location); self->ClearException(); @@ -630,7 +629,6 @@ inline void UnlockJniSynchronizedMethod(jobject locked, Thread* self) { // Restore pending exception. if (saved_exception != NULL) { self->SetException(saved_throw_location, saved_exception); - self->SetExceptionReportedToInstrumentation(is_exception_reported); } } -- cgit v1.2.3-59-g8ed1b