RFR: JDK-7154662: {CRC32, Adler32}.update(byte[] b, int off, int len): undocumented ArrayIndexOutOfBoundsException
Alan Bateman
Alan.Bateman at oracle.com
Wed Aug 14 21:19:12 UTC 2013
On 14/08/2013 20:10, Xueming Shen wrote:
> 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/
This looks fine to me.
-Alan
More information about the core-libs-dev
mailing list