If you call FileReader.read(char[], int, int) with negative integers, you get an ArrayIndexOutOfBoundsException rather than an IllegalArgumentException.
- duplicates
-
JDK-4127657 read(byte[], int, int) in xxxReader can throw undocumented exceptions
-
- Closed
-