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.201 by jsr166, Sun Aug 28 18:10:37 2016 UTC vs.
Revision 1.207 by jsr166, Thu Nov 3 20:41:32 2016 UTC

# Line 447 | Line 447 | public class JSR166TestCase extends Test
447              AbstractQueuedLongSynchronizerTest.suite(),
448              ArrayBlockingQueueTest.suite(),
449              ArrayDequeTest.suite(),
450 +            ArrayListTest.suite(),
451              AtomicBooleanTest.suite(),
452              AtomicIntegerArrayTest.suite(),
453              AtomicIntegerFieldUpdaterTest.suite(),
# Line 469 | Line 470 | public class JSR166TestCase extends Test
470              CopyOnWriteArrayListTest.suite(),
471              CopyOnWriteArraySetTest.suite(),
472              CountDownLatchTest.suite(),
473 +            CountedCompleterTest.suite(),
474              CyclicBarrierTest.suite(),
475              DelayQueueTest.suite(),
476              EntryTest.suite(),
# Line 497 | Line 499 | public class JSR166TestCase extends Test
499              TreeMapTest.suite(),
500              TreeSetTest.suite(),
501              TreeSubMapTest.suite(),
502 <            TreeSubSetTest.suite());
502 >            TreeSubSetTest.suite(),
503 >            VectorTest.suite());
504  
505          // Java8+ test classes
506          if (atLeastJava8()) {
507              String[] java8TestClassNames = {
508 +                "ArrayDeque8Test",
509                  "Atomic8Test",
510                  "CompletableFutureTest",
511                  "ConcurrentHashMap8Test",
512 <                "CountedCompleterTest",
512 >                "CountedCompleter8Test",
513                  "DoubleAccumulatorTest",
514                  "DoubleAdderTest",
515                  "ForkJoinPool8Test",
# Line 1005 | Line 1009 | public class JSR166TestCase extends Test
1009          ThreadMXBean threadMXBean = ManagementFactory.getThreadMXBean();
1010          System.err.println("------ stacktrace dump start ------");
1011          for (ThreadInfo info : threadMXBean.dumpAllThreads(true, true)) {
1012 <            String name = info.getThreadName();
1012 >            final String name = info.getThreadName();
1013 >            String lockName;
1014              if ("Signal Dispatcher".equals(name))
1015                  continue;
1016              if ("Reference Handler".equals(name)
1017 <                && info.getLockName().startsWith("java.lang.ref.Reference$Lock"))
1017 >                && (lockName = info.getLockName()) != null
1018 >                && lockName.startsWith("java.lang.ref.Reference$Lock"))
1019                  continue;
1020              if ("Finalizer".equals(name)
1021 <                && info.getLockName().startsWith("java.lang.ref.ReferenceQueue$Lock"))
1021 >                && (lockName = info.getLockName()) != null
1022 >                && lockName.startsWith("java.lang.ref.ReferenceQueue$Lock"))
1023                  continue;
1024              if ("checkForWedgedTest".equals(name))
1025                  continue;
# Line 1756 | Line 1763 | public class JSR166TestCase extends Test
1763       * A CyclicBarrier that uses timed await and fails with
1764       * AssertionFailedErrors instead of throwing checked exceptions.
1765       */
1766 <    public class CheckedBarrier extends CyclicBarrier {
1766 >    public static class CheckedBarrier extends CyclicBarrier {
1767          public CheckedBarrier(int parties) { super(parties); }
1768  
1769          public int await() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines