# HG changeset patch # User alanb # Date 1289920991 0 # Node ID 1928ed40f8bd2a9759c2cab3b662fac5cd6b3f72 # Parent 2bd7f94e734dac8390b95c98efa1376e7cbabbb6 6613829: (docs) Readable.read() ReadOnlyBufferException is not linked Reviewed-by: chegar, lancea diff -r 2bd7f94e734d -r 1928ed40f8bd jdk/src/share/classes/java/lang/Readable.java --- a/jdk/src/share/classes/java/lang/Readable.java Mon Nov 15 09:42:39 2010 -0800 +++ b/jdk/src/share/classes/java/lang/Readable.java Tue Nov 16 15:23:11 2010 +0000 @@ -44,11 +44,11 @@ * rewinding of the buffer is performed. * * @param cb the buffer to read characters into - * @return @return The number of char values added to the buffer, + * @return The number of {@code char} values added to the buffer, * or -1 if this source of characters is at its end * @throws IOException if an I/O error occurs * @throws NullPointerException if cb is null - * @throws ReadOnlyBufferException if cb is a read only buffer + * @throws java.nio.ReadOnlyBufferException if cb is a read only buffer */ public int read(java.nio.CharBuffer cb) throws IOException;