Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.25.0
-
None
-
assertThat( Arrays.toString(ImmutableIntList.of(1).toArray(new Integer[]{5,6,7})), is("[1, null, 7]") );
java.lang.ArrayIndexOutOfBoundsException: 1 at org.apache.calcite.util.ImmutableIntList.toArray(ImmutableIntList.java:161) [0;1mat org.apache.calcite.util.UtilTest.testImmutableIntList(UtilTest.java:1127)
assertThat( Arrays.toString(ImmutableIntList.of(1).toArray( new Integer []{5,6,7})), is( "[1, null , 7]" ) ); java.lang.ArrayIndexOutOfBoundsException: 1 at org.apache.calcite.util.ImmutableIntList.toArray(ImmutableIntList.java:161) [0;1mat org.apache.calcite.util.UtilTest.testImmutableIntList(UtilTest.java:1127)