Yes, and there should be. I will open an issue. Mike
On Jul 23 2013, at 17:26 , Alan Bateman wrote: > On 22/07/2013 12:24, Mike Duigou wrote: >> Hello all; >> >> A simple rewiew for the addition of another constructor to PriorityQueue. >> Currently if you wish to specify a Comparator you must also supply a size. >> This addition allows use of the default size which is good for two reason; >> you don't have to specify a fixed value and the implementation can change >> it's default as appropriate. >> >> http://cr.openjdk.java.net/~mduigou/JDK-6799426/0/webrev/ >> >> Mike > Is there a test that could be updated to exercise the new constructor? > > -Alan.