Index: modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ThreadTest.java =================================================================== --- modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ThreadTest.java (revision 581982) +++ modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ThreadTest.java (working copy) @@ -262,10 +262,13 @@ */ public void test_activeCount() { // Test for method int java.lang.Thread.activeCount() - Thread t = new Thread(new SimpleThread(1)); - int active = Thread.activeCount(); - assertTrue("Incorrect read made: " + active, active > 0); - t.start(); + Thread t = new Thread(new SimpleThread(10)); + int active = 0; + synchronized (t) { + t.start(); + active = Thread.activeCount(); + } + assertTrue("Incorrect activeCount for current group: " + active, active > 1); try { t.join(); } catch (InterruptedException e) {