我需要尽快将应用升级到 Java 11,我想知道与 Java 11 兼容的最低 Spring 版本是多少。
我目前使用的是 Java 8 和 Spring 4.2.7。
最佳答案
来自他们的任务跟踪器 -- SPR-16391:Compatibility with JDK 11 。 JDK 10、11 的兼容性计划与 5.1 GA 版本一起发布。
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.
虽然使用 spring 框架 5.0 在模块路径上试验自己的代码的选项仍然可行,provides out-of-the-box support for JDK 9 already .
关于java - 与 Java 11 兼容的最低 Spring 版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51427248/