--- old/src/java.base/share/classes/java/io/LineNumberReader.java 2015-04-20 16:05:42.000000000 +0100 +++ new/src/java.base/share/classes/java/io/LineNumberReader.java 2015-04-20 16:05:42.000000000 +0100 @@ -159,6 +159,8 @@ * * @throws IOException * If an I/O error occurs + * + * @throws IndexOutOfBoundsException {@inheritDoc} */ @SuppressWarnings("fallthrough") public int read(char cbuf[], int off, int len) throws IOException {