--- old/src/java.base/share/classes/java/io/InputStreamReader.java 2015-04-20 16:05:41.000000000 +0100 +++ new/src/java.base/share/classes/java/io/InputStreamReader.java 2015-04-20 16:05:41.000000000 +0100 @@ -179,6 +179,7 @@ * stream has been reached * * @exception IOException If an I/O error occurs + * @exception IndexOutOfBoundsException {@inheritDoc} */ public int read(char cbuf[], int offset, int length) throws IOException { return sd.read(cbuf, offset, length);