--- jsr166/src/test/tck/ExecutorsTest.java 2014/12/31 19:05:42 1.43 +++ jsr166/src/test/tck/ExecutorsTest.java 2015/04/25 04:55:30 1.45 @@ -28,7 +28,7 @@ import junit.framework.TestSuite; public class ExecutorsTest extends JSR166TestCase { public static void main(String[] args) { - junit.textui.TestRunner.run(suite()); + main(suite(), args); } public static Test suite() { return new TestSuite(ExecutorsTest.class); @@ -285,7 +285,6 @@ public class ExecutorsTest extends JSR16 for (final ExecutorService executor : executors) { threads.add(newStartedThread(new CheckedRunnable() { public void realRun() { - long startTime = System.nanoTime(); Future future = executor.submit(sleeper); assertFutureTimesOut(future); }}));