23 Feb
2021
23 Feb
'21
4:22 p.m.
On Tue, 23 Feb 2021 08:48:16 GMT, Alan Bateman <alanb@openjdk.org> wrote:
8258444: Clean up specifications of java.io.Reader.read(char[],int,int) in subclass overrides
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?
It does not due to https://bugs.openjdk.java.net/browse/JDK-8157677. ------------- PR: https://git.openjdk.java.net/jdk/pull/2680