--- jsr166/src/test/tck/PriorityQueueTest.java 2017/03/11 17:33:32 1.41 +++ jsr166/src/test/tck/PriorityQueueTest.java 2017/05/29 22:44:27 1.43 @@ -42,7 +42,7 @@ public class PriorityQueueTest extends J * Returns a new queue of given size containing consecutive * Integers 0 ... n - 1. */ - private PriorityQueue populatedQueue(int n) { + private static PriorityQueue populatedQueue(int n) { PriorityQueue q = new PriorityQueue<>(n); assertTrue(q.isEmpty()); for (int i = n - 1; i >= 0; i -= 2) @@ -63,7 +63,7 @@ public class PriorityQueueTest extends J } /** - * Constructor throws IAE if capacity argument nonpositive + * Constructor throws IllegalArgumentException if capacity argument nonpositive */ public void testConstructor2() { try {