Index: vm/tests/kernel/java/lang/ThreadTest.java =================================================================== --- vm/tests/kernel/java/lang/ThreadTest.java (revision 475140) +++ vm/tests/kernel/java/lang/ThreadTest.java (working copy) @@ -38,7 +38,7 @@ "thread has been unexpectedly interrupted"; // max time interval to wait for some events in ms - private static final long waitDuration = 3000; + private static final long waitDuration = 60000; // waiting time for some event private long waitTime = 0; @@ -60,7 +60,7 @@ } private class Team { - public int i = 0; + public volatile int i = 0; volatile boolean stopProject = false; public synchronized void work() { @@ -1323,12 +1323,6 @@ }; t.start(); waitTime = waitDuration; - while (!t.isAlive() && !(expired = doSleep(10))) { - } - if (expired) { - fail("unexpected: thread has not started"); - } - waitTime = waitDuration; while (!t.isInterrupted() && !(expired = doSleep(10))) { } if (expired) {