https://bz.apache.org/bugzilla/show_bug.cgi?id=69351
asdf...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- OS| |All --- Comment #1 from asdf...@gmail.com --- Test case @Test void testRemoveValue() throws IllegalAccessException, NoSuchFieldException { // final IntList il1 = new IntList(); // // Retrieve the "_array" field in the "org.apache.poi.util.IntList" class // final int[] _array = cast(int[].class, FieldUtils.readField(IntList.class.getDeclaredField("_array"), il1, true)); // final int length = _array != null ? _array.length : 0; // // Fill the "_array" with 0,1,2,3,4.... until the _array.length==_limit // IntStream.range(0, length).forEach(x -> il1.add(x)); // // Remove the value in the "_array". The value equals to the second last value // in the "_array" // // "java.lang.ArrayIndexOutOfBoundsException" raised // il1.removeValue(length - 2); // } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org