summaryrefslogtreecommitdiff
path: root/src/thread.cc
diff options
context:
space:
mode:
author jeffhao <jeffhao@google.com> 2012-11-26 16:02:12 -0800
committer jeffhao <jeffhao@google.com> 2012-11-26 16:02:12 -0800
commit94d6df471a406a03bb1afba8ca3ae9c0fbf366b5 (patch)
treef89af30dbe4a23dc6f62bb17c3b0a36b778ade33 /src/thread.cc
parent5bc252873e6e50f8257e33ca158d0e350413fcbf (diff)
Fixes to make all run-tests except 051-thread work.
- Moved exception delivery into common method DeliverException - Renamed old DeliverException to QuickDeliverException since it is only used by quick - Fixed null checks for arrays returned by GetReference - Standardized ArrayStoreException error message - Added additional sleeps to ensure threads stay alive long enough in 051-thread, and that <clinit> is complete for 084-class-init Change-Id: I9ca306896a4bd10f453150fcf3965d9750fa0cbd
Diffstat (limited to 'src/thread.cc')
-rw-r--r--src/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.cc b/src/thread.cc
index 8037886165..ca57f8a6bc 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -1770,7 +1770,7 @@ class CatchBlockStackVisitor : public StackVisitor {
const char* last_no_assert_suspension_cause_;
};
-void Thread::DeliverException() {
+void Thread::QuickDeliverException() {
Throwable* exception = GetException(); // Get exception from thread
CHECK(exception != NULL);
// Don't leave exception visible while we try to find the handler, which may cause class