Bug ID: JDK-8246725 Provide MAX_ARRAY_SIZE publicly
JDK-8298863 - Allow max_jint array length for all element types.The REAL fix for this problem is to fix the JVM so that it can allocate arrays of length Integer.MAX_VALUE. From time to time I hear rumors that this might be possible.