ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/JSR166TestCase.java
(Generate patch)

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.200 by jsr166, Wed Aug 10 01:28:14 2016 UTC vs.
Revision 1.202 by jsr166, Thu Sep 15 00:32:45 2016 UTC

# Line 1237 | Line 1237 | public class JSR166TestCase extends Test
1237       * Sleeps until the given time has elapsed.
1238       * Throws AssertionFailedError if interrupted.
1239       */
1240 <    void sleep(long millis) {
1240 >    static void sleep(long millis) {
1241          try {
1242              delay(millis);
1243          } catch (InterruptedException fail) {
# Line 1756 | Line 1756 | public class JSR166TestCase extends Test
1756       * A CyclicBarrier that uses timed await and fails with
1757       * AssertionFailedErrors instead of throwing checked exceptions.
1758       */
1759 <    public class CheckedBarrier extends CyclicBarrier {
1759 >    public static class CheckedBarrier extends CyclicBarrier {
1760          public CheckedBarrier(int parties) { super(parties); }
1761  
1762          public int await() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines