--- jsr166/src/test/tck/JSR166TestCase.java 2016/08/10 01:28:14 1.200 +++ jsr166/src/test/tck/JSR166TestCase.java 2016/09/15 00:32:45 1.202 @@ -1237,7 +1237,7 @@ public class JSR166TestCase extends Test * Sleeps until the given time has elapsed. * Throws AssertionFailedError if interrupted. */ - void sleep(long millis) { + static void sleep(long millis) { try { delay(millis); } catch (InterruptedException fail) { @@ -1756,7 +1756,7 @@ public class JSR166TestCase extends Test * A CyclicBarrier that uses timed await and fails with * AssertionFailedErrors instead of throwing checked exceptions. */ - public class CheckedBarrier extends CyclicBarrier { + public static class CheckedBarrier extends CyclicBarrier { public CheckedBarrier(int parties) { super(parties); } public int await() {