与Java 11兼容的最低Spring版本 [英] Minimum Spring version compatible with Java 11

查看:444
本文介绍了与Java 11兼容的最低Spring版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要很快将应用程序升级到Java 11,我想知道与Java 11兼容的最小Spring版本是什么。

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.

我目前正在使用Java 8和Spring 4.2.7。

I'm currently using Java 8 and Spring 4.2.7.

推荐答案

从他们的任务跟踪器 - SPR-16391:与JDK 11的兼容性 。 JDK 10,11的兼容性计划与 5.1 GA 版本一起计划。

From their task tracker -- SPR-16391:Compatibility with JDK 11. The compatibility of JDK 10, 11 is planned along with 5.1 GA release.


JDK 11目前计划于2018年9月发布。从我们的角度来看,不期望任何超过JDK 10的
主要变化,我们应该能够在$ 5.1行中完全支持它。

理想情况下,我们的框架构建能够在JDK 8,9,10上以
和11运行,即使我们自己的测试工作将集中于那时JDK 8和11
(作为官方长期支持分支机构)。

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.

虽然可以选择实验使用spring framework 5.0,在模块路径上使用自己的代码仍然可行,其中已经为JDK 9提供了开箱即用的支持

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.

更新: Spring Framework 5.1于2018年9月21日进入GA

这篇关于与Java 11兼容的最低Spring版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆