Name: bb33257 Date: 05/12/98
When using a Writer to write(char[], int, int), and the offset + the
length take you out of bounds, ArrayIndexOutOfBoundsException is
thrown. IndexOutOfBounds should be thrown instead (according to
the developer). The same problem exists for Reader.read(char[], int, int)
======================================================================
- duplicates
-
JDK-4127657 read(byte[], int, int) in xxxReader can throw undocumented exceptions
-
- Closed
-