From 28c5302bc4e508814c886b10b479d8a06aaa9aac Mon Sep 17 00:00:00 2001 From: alanb Date: Tue, 16 Nov 2010 15:23:11 +0000 Subject: [PATCH] 6613829: (docs) Readable.read() ReadOnlyBufferException is not linked Reviewed-by: chegar, lancea --- src/share/classes/java/lang/Readable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/share/classes/java/lang/Readable.java b/src/share/classes/java/lang/Readable.java index c97d792cc..51279ef27 100644 --- a/src/share/classes/java/lang/Readable.java +++ b/src/share/classes/java/lang/Readable.java @@ -44,11 +44,11 @@ public interface Readable { * 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; -- GitLab