RFR 8025535: Unsafe typecast in java.util.stream.SortedOps
Mike Duigou
mike.duigou at oracle.com
Tue Oct 1 20:16:28 UTC 2013
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.
More information about the core-libs-dev
mailing list