Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Type annotations and generic types causing ArrayIndexOutOfBoundsException [SPR-17467] #21999
We just tried upgrading our project to from Spring Framework 5.0.8 to 5.1.2 but unfortunately we hit a blocker which seems to be some kind of regression. At least my Google search yielded a two year old ASM bug report which also have been fixed shortly after .
We are getting an
I've attached a small test project that should help reproducing the bug. If you execute the test you should see the error. Downgrading the dependency to Spring Framework 5.0.8 solves the issue.
Our test systems use MacOs und CentOs with JDK 1.8.0_181.
Referenced from: commits 2ac4355
1 votes, 3 watchers
Juergen Hoeller commented
This seems to be #18661 coming back indeed since we upgraded to ASM 7.0 for Spring Framework 5.1, with a heavily refactored
This will be available in the upcoming