RFR: JDK-7154662: {CRC32, Adler32}.update(byte[] b, int off, int len): undocumented ArrayIndexOutOfBoundsException

Xueming Shen xueming.shen at oracle.com
Wed Aug 14 19:10:10 UTC 2013


Hi,

Please help review the change to document the AIOBE exception
for CRC32/Adler32.update() methods (may need a followup CCC).
This has been the behavior probably from day one, but the exception
is just not explicitly listed. Ideally it probably should be in Checksum.update(),
but that probably is too late for a public interface that has been there
for so many years.

http://cr.openjdk.java.net/~sherman/7154662/webrev/

Thanks!
-Sherman



More information about the core-libs-dev mailing list