-
Notifications
You must be signed in to change notification settings - Fork 38.5k
JDK 8 support for Spring 2.5.x [SPR-11899] #16518
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
Comments
Juergen Hoeller commented I'm afraid this is far outside the support range. Spring Framework 2.5.6 got released in 2008, and it just about covers JDK 6 and - de facto - basic JDK 7 compatibility (even if JDK 7 got released as late as 2011). However, 2014's JDK 8 is six years apart - that's just not feasible anymore. Please upgrade to at least Spring Framework 3.2.9 which does have basic JDK 8 support - and it contains pretty much all of 2.5.6's support classes still: some of them in deprecated form but still working, thus providing a straightforward upgrade path for 2.5.6 users. Have you tried it? Note that our full JDK 8 story (including JSR-310 support, repeatable annotations, parameter name discovery) is only available in the Spring Framework 4.x line... 3.2.9 just provides basic compatibility with the JDK 8 bytecode level plus a few further runtime compatibility tweaks. Juergen |
Jocelyn Ntakpe commented Thanks for your answer. |
Juergen Hoeller commented Any specific reason why upgrading your older apps to Spring Framework 3.2.9 wouldn't work? Did you try a smoke test, simply bumping up the build dependency from 2.5.6 to 3.2.9? FYI, we're doing a 3.2.9 service release in July. Let me know whether there's anything we can do for you there. There'll be a further 3.2.9 service release later this year, if needed. Juergen |
Jocelyn Ntakpe commented Thanks for the advice. Indeed will try 3.2.9 migration. |
C D commented You could also just overwrite this class. |
Jocelyn N'TAKPE opened SPR-11899 and commented
I know Spring 2.X is no longer supported but is it possible to release a new version supporting JDK 1.8.
No further details from SPR-11899
The text was updated successfully, but these errors were encountered: