spring什么版本支持java8,与Java 11兼容的最低Spring版本

博主需将应用升级到Java 11,想了解兼容Java 11的最低Spring版本。博主当前使用Java 8和Spring 4.2.7。解决方案表明,从任务跟踪来看是5.1 GA版本,Spring框架构建应能在JDK 8 - 11上运行,Spring 5.0也可用于在模块路径上试验代码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I need to upgrade an app to Java 11 very soon, I was wondering what's the minimum Spring version that is compatible with Java 11.

I'm currently using Java 8 and Spring 4.2.7.

解决方案

From their task tracker -- 5.1 GA release.

JDK 11 is currently scheduled for September 2018. Not expecting any

major changes beyond JDK 10 from our perspective, we should be able to

fully support it in the 5.1 line already.

Ideally our framework build would be able to run on JDK 8, 9, 10 as

well as 11, even if our own test efforts will focus on JDK 8 and 11

(as the official long-term support branches) at that point.

While the option of experimenting with your own code on module path is still feasible using spring framework 5.0, which provides out-of-the-box support for JDK 9 already.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值