Writer write(String str, int off, int len) with off+len outside the
specified bounds no Exception is thrown. The Expected exception ArrayIndexOutOfBoundsException should be thrown in this case.
offset+len outside of bounds No Exception thrown.
len or offset outside of bounds StringIndexOutOfBoundsException thrown.
specified bounds no Exception is thrown. The Expected exception ArrayIndexOutOfBoundsException should be thrown in this case.
offset+len outside of bounds No Exception thrown.
len or offset outside of bounds StringIndexOutOfBoundsException thrown.
- duplicates
-
JDK-4127657 read(byte[], int, int) in xxxReader can throw undocumented exceptions
-
- Closed
-