Looks good to me! Mike
On Oct 1 2013, at 12:30 , Paul Sandoz wrote: > Hi, > > Please review the following patch that checks size limits for the sorted > operation and fails quickly rather than failing with an obscure ISE or an > OOME later on: > > > http://cr.openjdk.java.net/~psandoz/tl/JDK-8025535-sorted-unsafe-type-cast/webrev/ > > Tests have been added that assert for both SIZED and non-SIZED (at pipeline > construction) inputs to sorted(). > > Paul.