RFR 8025534: Unsafe typecast in java.util.stream.Streams.Nodes
Paul Sandoz
paul.sandoz at oracle.com
Wed Oct 2 15:05:44 UTC 2013
Hi,
Please review the following patch that fixes/clarifies areas that cast long to int when creating and processing arrays of elements:
http://cr.openjdk.java.net/~psandoz/tl/JDK-8025534-unsafe-int-casts/webrev/
I have retained the one off error (>= Nodes.MAX_ARRAY_SIZE) that Chris previously observed.
No unit tests have been updated/added since this area requires rather large memory configurations for verification.
Paul.
More information about the core-libs-dev
mailing list