[9] RFR 8163518: Integer overflow in StringBufferInputStream.read(byte[], int, int) and CharArrayReader.read(char[], int, int)

Ivan Gerasimov ivan.gerasimov at oracle.com
Wed Aug 10 00:12:34 UTC 2016


Hello!

Two classes from java.io package may experience the integer overflow 
problem in their read() methods.
Would you please help review the obvious fix?

The regression tests are @ignored by default, as they require 4+ GB of 
the heap to run.

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8163518
WEBREV: http://cr.openjdk.java.net/~igerasim/8163518/00/webrev/

With kind regards,
Ivan




More information about the core-libs-dev mailing list