JDK-5102710 : (spec) Missing in CharArrayReader constructor
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-09-15
  • Updated: 2005-06-02
  • Resolved: 2005-06-02
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 6
6 b39Fixed
Related Reports
Relates :  
Description
There's a minor html typo in CharArrayReader(char [], int, int).

The file should be checked for similar formatting errors.

-- iag@sfbay 2004-09-15

Comments
SUGGESTED FIX *** /tmp/geta746 Wed Sep 15 12:55:11 2004 --- CharArrayReader.java Wed Sep 15 12:43:02 2004 *************** *** 48,54 **** * <p> The resulting reader will start reading at the given * <tt>offset</tt>. The total number of <tt>char</tt> values that can be * read from this reader will be either <tt>length</tt> or ! * <tt>buf.length-offset<tt>, whichever is smaller. * * @throws IllegalArgumentException * If <tt>offset</tt> is negative or greater than --- 48,54 ---- * <p> The resulting reader will start reading at the given * <tt>offset</tt>. The total number of <tt>char</tt> values that can be * read from this reader will be either <tt>length</tt> or ! * <tt>buf.length-offset</tt>, whichever is smaller. * * @throws IllegalArgumentException * If <tt>offset</tt> is negative or greater than -- iag@sfbay 2004-09-15
15-09-2004

EVALUATION The suggested fix is correct. -- iag@sfbay 2004-09-15
15-09-2004