RFR: 8258444: Clean up specifications of java.io.Reader.read(char[], int, int) in subclass overrides
Alan Bateman
alanb at openjdk.java.net
Tue Feb 23 08:51:41 UTC 2021
On Mon, 22 Feb 2021 23:27:19 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> 8258444: Clean up specifications of java.io.Reader.read(char[],int,int) in subclass overrides
Marked as reviewed by alanb (Reviewer).
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?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2680
More information about the core-libs-dev
mailing list