JDK-4164649 : java.io.CharArrayReader(array, off, len) no exception if off+len is outofbound
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 Availabitlity Release.
If I construct a CharArrayReader(chararray, 5, 5) where the chararray is 7-characters, no exception is thrown. I would expect a IndexOutOfBoundsException.
BugTraq+ Release Management Values
COMMIT TO FIX:
Oops. -- mr@eng 1998/11/24
The fix is OK.
It would be good to close a tag <tt> in the javadoc description
for public CharArrayReader(char buf, int offset, int length) constructor:
<tt>buf.length-offset<tt> --> <tt>buf.length-offset</tt>