--- jsr166/src/test/tck/JSR166TestCase.java 2015/10/05 22:34:45 1.167 +++ jsr166/src/test/tck/JSR166TestCase.java 2015/10/08 21:50:26 1.169 @@ -200,6 +200,8 @@ public class JSR166TestCase extends Test System.err.println ("Looks like we're stuck running test: " + lastTestCase); + System.err.println("availableProcessors=" + + Runtime.getRuntime().availableProcessors()); dumpTestThreads(); // one stack dump is probably enough; more would be spam break; @@ -1203,7 +1205,7 @@ public class JSR166TestCase extends Test } finally { if (t.getState() != Thread.State.TERMINATED) { t.interrupt(); - fail("Test timed out"); + threadFail("Test timed out"); } } }