question: public void test_fill$CIIC ( ) { char val = 'T' ; char d [ ] = new char [ 1000 ] ; Arrays . fill ( d , 400 , d . length , val ) ; for ( int i = 0 ; i < 400 ; i ++ ) assertTrue ( "Filled elements not in range" , ! ( d [ i ] == val ) ) ; for ( int i = 400 ; i < d . length ; i ++ ) assertTrue ( "Failed to fill char array correctly" , d [ i ] == val ) ; try { Arrays . fill ( d , 10 , 0 , val ) ; fail ( "IllegalArgumentException expected" ) ; } catch ( IllegalArgumentException e ) { } try { Arrays . fill ( d , - 10 , 0 , val ) ; fail ( "ArrayIndexOutOfBoundsException expected" ) ; } catch ( ArrayIndexOutOfBoundsException e ) { } try { Arrays . fill ( d , 10 , d . length + 1 , val ) ; fail ( "ArrayIndexOutOfBoundsException expected" ) ; } catch ( ArrayIndexOutOfBoundsException e ) { } }
target:  java.util.Arrays#fill(char[], int, int, char)