Bug ID: JDK-8246725 Provide MAX_ARRAY_SIZE publicly
The limit is currently defined internally by `jdk.internal.util.ArraysSupport.MAX_ARRAY_LENGTH`.And JDK classes should then consistently use that constant instead of redeclaring this constant over and over again, examples: - https...