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.