23 Feb
2021
23 Feb
'21
5:07 p.m.
On Tue, 23 Feb 2021 16:23:10 GMT, Alan Bateman <alanb@openjdk.org> wrote:
src/java.base/share/classes/java/io/InputStreamReader.java line 167:
165: * {@inheritDoc} 166: */ 167: public int read(char[] cbuf, int off, int len) throws IOException {
IOOBE is unchecked, are you sure it gets inherited into the sub-class here?
The long standard behavior is that javadoc doesn't copy the throws of unchecked exceptions, instead we've had to declare the throws and use inheritDoc. I assume you'll need to do that here.
It does not and there is a javadoc issue already on file about this. ------------- PR: https://git.openjdk.java.net/jdk/pull/2680