DataBinder
throws IndexOutOfBoundsException
when indexed parameter uses nonconsecutive indices
#34145
Milestone
DataBinder
throws IndexOutOfBoundsException
when indexed parameter uses nonconsecutive indices
#34145
This test fails when added to
DataBinderConstructTests.java
:The stack trace looks like this:
I think the problem is with this line in
DataBinder.createList()
:In order to support nonconsecutive indices, it would need to create enough elements to match the value of highest index, but it's instead creating enough elements to match the count of indices that were submitted.
The text was updated successfully, but these errors were encountered: