--- old/src/share/classes/java/util/zip/Adler32.java 2013-08-14 14:46:11.000000000 -0700 +++ new/src/share/classes/java/util/zip/Adler32.java 2013-08-14 14:46:11.000000000 -0700 @@ -62,6 +62,11 @@ /** * Updates the checksum with the specified array of bytes. + * + * @throws ArrayIndexOutOfBoundsException + * if {@code off} is negative, or {@code len} is negative, + * or {@code off+len} is greater than the length of the + * array {@code b} */ public void update(byte[] b, int off, int len) { if (b == null) { --- old/src/share/classes/java/util/zip/CRC32.java 2013-08-14 14:46:12.000000000 -0700 +++ new/src/share/classes/java/util/zip/CRC32.java 2013-08-14 14:46:11.000000000 -0700 @@ -60,6 +60,11 @@ /** * Updates the CRC-32 checksum with the specified array of bytes. + * + * @throws ArrayIndexOutOfBoundsException + * if {@code off} is negative, or {@code len} is negative, + * or {@code off+len} is greater than the length of the + * array {@code b} */ public void update(byte[] b, int off, int len) { if (b == null) {