JDK-8258444 : Clean up specifications of java.io.Reader.read(char[],int,int) in subclass overrides
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-12-15
  • Updated: 2021-03-03
  • Resolved: 2021-02-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b12Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Description
The specification verbiage of some of the overrides of read(char[],int,int) in subclasses of java.io.Reader could be improved. Some of these effectively have their own simplified version of the Reader specification which does not add any value. A few others (BufferedReader, LineNumberReader, PipedReader) add some verbiage of some value.
Comments
Changeset: 5a9b7010 Author: Brian Burkhalter <bpb@openjdk.org> Date: 2021-02-25 16:22:59 +0000 URL: https://git.openjdk.java.net/jdk/commit/5a9b7010
25-02-2021

It would be better to address this issue only after JDK-8258429 has been resolved.
15-12-2020