From 94d6df471a406a03bb1afba8ca3ae9c0fbf366b5 Mon Sep 17 00:00:00 2001 From: jeffhao Date: Mon, 26 Nov 2012 16:02:12 -0800 Subject: 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 is complete for 084-class-init Change-Id: I9ca306896a4bd10f453150fcf3965d9750fa0cbd --- test/084-class-init/src/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/084-class-init/src') diff --git a/test/084-class-init/src/Main.java b/test/084-class-init/src/Main.java index f551dc5440..abad1f0cf1 100644 --- a/test/084-class-init/src/Main.java +++ b/test/084-class-init/src/Main.java @@ -96,7 +96,7 @@ public class Main { static class FieldThread extends Thread { public void run() { /* allow SlowInit's to start */ - Main.sleep(1000); + Main.sleep(5000); /* collect fields; should delay until class init completes */ int field0, field1, field2, field3; @@ -115,7 +115,7 @@ public class Main { static class MethodThread extends Thread { public void run() { /* allow SlowInit's to start */ - Main.sleep(1000); + Main.sleep(5000); /* use a method that shouldn't be accessible yet */ SlowInit.printMsg("MethodThread message"); -- cgit v1.2.3-59-g8ed1b