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.248 by jsr166, Sat Nov 24 21:14:51 2018 UTC vs.
Revision 1.251 by jsr166, Wed Dec 12 16:59:55 2018 UTC

# Line 550 | Line 550 | public class JSR166TestCase extends Test
550                  "HashMapTest",
551                  "LinkedBlockingDeque8Test",
552                  "LinkedBlockingQueue8Test",
553 +                "LinkedHashMapTest",
554                  "LongAccumulatorTest",
555                  "LongAdderTest",
556                  "SplittableRandomTest",
# Line 1305 | Line 1306 | public class JSR166TestCase extends Test
1306                                         Callable<Boolean> waitingForGodot) {
1307          for (long startTime = 0L;;) {
1308              switch (thread.getState()) {
1309 +            default: break;
1310              case BLOCKED: case WAITING: case TIMED_WAITING:
1311                  try {
1312                      if (waitingForGodot == null || waitingForGodot.call())
# Line 1609 | Line 1611 | public class JSR166TestCase extends Test
1611          public String call() { throw new NullPointerException(); }
1612      }
1613  
1612    public class SmallPossiblyInterruptedRunnable extends CheckedRunnable {
1613        protected void realRun() {
1614            try {
1615                delay(SMALL_DELAY_MS);
1616            } catch (InterruptedException ok) {}
1617        }
1618    }
1619
1614      public Runnable possiblyInterruptedRunnable(final long timeoutMillis) {
1615          return new CheckedRunnable() {
1616              protected void realRun() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines