Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BeanWrapper should auto-grow arrays on indexed set attempt as well [SPR-12706] #17303

Closed
spring-issuemaster opened this issue Feb 10, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Feb 10, 2015

Stéphane Nicoll opened SPR-12706 and commented

BeanWrapper does not manage indexed access for an array if it has to create the actual array. This gives a weird situation where if the array is already initialized the bracket notation works but if the binder has to initialize it it always fails with an ArrayIndexOutOfBoundsException as it creates an empty array by default.


Referenced from: commits 1646f62, aa21339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.