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

查看:58
本文介绍了与 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 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.

理想情况下,我们的框架构建将能够在 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 框架 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 日正式发布

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

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