diff -r c5fbc05d7347 -r f01ef94a63e7 jdk/test/java/util/Collection/MOAT.java --- a/jdk/test/java/util/Collection/MOAT.java Sat Sep 18 06:09:48 2010 -0400 +++ b/jdk/test/java/util/Collection/MOAT.java Mon Sep 20 18:05:09 2010 -0700 @@ -75,6 +75,7 @@ testCollection(new ArrayBlockingQueue(20)); testCollection(new LinkedBlockingQueue(20)); testCollection(new LinkedBlockingDeque(20)); + testCollection(new ConcurrentLinkedDeque()); testCollection(new ConcurrentLinkedQueue()); testCollection(new LinkedTransferQueue()); testCollection(new ConcurrentSkipListSet()); @@ -431,8 +432,9 @@ q.poll(); equal(q.size(), 4); checkFunctionalInvariants(q); - if ((q instanceof LinkedBlockingQueue) || - (q instanceof LinkedBlockingDeque) || + if ((q instanceof LinkedBlockingQueue) || + (q instanceof LinkedBlockingDeque) || + (q instanceof ConcurrentLinkedDeque) || (q instanceof ConcurrentLinkedQueue)) { testQueueIteratorRemove(q); }