--- jsr166/src/test/tck/JSR166TestCase.java 2013/04/21 06:19:58 1.107 +++ jsr166/src/test/tck/JSR166TestCase.java 2013/07/14 16:55:01 1.109 @@ -232,6 +232,7 @@ public class JSR166TestCase extends Test RecursiveTaskTest.suite(), LinkedTransferQueueTest.suite(), PhaserTest.suite(), + SplittableRandomTest.suite(), ThreadLocalRandomTest.suite(), AbstractExecutorServiceTest.suite(), AbstractQueueTest.suite(), @@ -310,13 +311,13 @@ public class JSR166TestCase extends Test return suite; } + // Delays for timing-dependent tests, in milliseconds. public static long SHORT_DELAY_MS; public static long SMALL_DELAY_MS; public static long MEDIUM_DELAY_MS; public static long LONG_DELAY_MS; - /** * Returns the shortest timed delay. This could * be reimplemented to use for example a Property. @@ -709,7 +710,6 @@ public class JSR166TestCase extends Test public static final Integer m6 = new Integer(-6); public static final Integer m10 = new Integer(-10); - /** * Runs Runnable r with a security policy that permits precisely * the specified permissions. If there is no current security @@ -1240,7 +1240,7 @@ public class JSR166TestCase extends Test public abstract class CheckedRecursiveAction extends RecursiveAction { protected abstract void realCompute() throws Throwable; - public final void compute() { + @Override protected final void compute() { try { realCompute(); } catch (Throwable t) { @@ -1255,7 +1255,7 @@ public class JSR166TestCase extends Test public abstract class CheckedRecursiveTask extends RecursiveTask { protected abstract T realCompute() throws Throwable; - public final T compute() { + @Override protected final T compute() { try { return realCompute(); } catch (Throwable t) {