[12] 8206403: ByteArrayOutputStream hugeCapacity method can return invalid capacity

Brian Burkhalter brian.burkhalter at oracle.com
Mon Jul 23 20:34:23 UTC 2018


https://bugs.openjdk.java.net/browse/JDK-8206403
http://cr.openjdk.java.net/~bpb/8206403/webrev.00/

Disallow creating an internal array of size larger than Integer.MAX_VALUE - 8.

The change if approved as-is will require a CSR for the @implNote.

Thanks,

Brian


More information about the core-libs-dev mailing list