src/java.base/share/classes/java/io/LineNumberReader.java

Print this page

        

*** 157,166 **** --- 157,168 ---- * @return The number of bytes read, or -1 if the end of the stream has * already been reached * * @throws IOException * If an I/O error occurs + * + * @throws IndexOutOfBoundsException {@inheritDoc} */ @SuppressWarnings("fallthrough") public int read(char cbuf[], int off, int len) throws IOException { synchronized (lock) { int n = super.read(cbuf, off, len);