On Tue, 23 Feb 2021 08:48:16 GMT, Alan Bateman <al...@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

Reply via email to