Writer write(String str, int off, int len) with off, len params < 0 the
wrong Exception is thrown. The Expected IllegalArgumentException
should be thrown in these cases.
With len < 0 NegativeArraySizeException thrown
With offset < 0 StringIndexOutOfBoundsException thrown
wrong Exception is thrown. The Expected IllegalArgumentException
should be thrown in these cases.
With len < 0 NegativeArraySizeException thrown
With offset < 0 StringIndexOutOfBoundsException thrown
- duplicates
-
JDK-4127657 read(byte[], int, int) in xxxReader can throw undocumented exceptions
-
- Closed
-