RFR 8025535: Unsafe typecast in java.util.stream.SortedOps

Paul Sandoz paul.sandoz at oracle.com
Wed Oct 2 12:03:24 UTC 2013


On Oct 2, 2013, at 1:34 PM, Chris Hegarty <chris.hegarty at oracle.com> wrote:

> The change looks fine to me.
> 

Thanks.


> Just curious why we don't allow sizes equal to Nodes.MAX_ARRAY_SIZE? Rather less than.
> 

Hmm... well observed, it's most likely a one off error due to it being confused with the exclusive upper bound for an index. It is consistently used like that throughout the code base. Don't wanna change that just now, i can do it later.

Paul.


More information about the core-libs-dev mailing list