“Spring Framework 3.2.13” 能与 “Java 11” 兼容吗?

huangapple go评论79阅读模式
英文:

Is spring framework 3.2.13 is compatible with Java 11

问题

我需要将我的项目升级到Java 11,所以想知道Spring Framework支持的最低版本是多少,能够与Java 11兼容。

截至目前,我的项目使用的是Java 8和Spring 3.2.13。

我已经使用Java 11和Spring 3.2.13运行了我的项目,没有遇到任何问题。
但我想要明确一点,Java 11是否支持Spring 3.2.13,以便在将来不会引起任何问题。

提前感谢...

英文:

I need to upgrade my project to Java 11, so am wondering what is the minimum version of Spring Framework version supported my Java 11.

As of now my project contains Java 8 and spring 3.2.13

I ran my project with Java 11 and Spring 3.2.13, I didn't face any issue.
But I want to make it clear will Java 11 support Spring 3.2.13 is supported , so that in further it should not cause any issue.

Thanks in advance...

答案1

得分: 1

引用自Spring项目Github Wiki

> 请升级至Spring Framework 5.1+(以及相应的Spring Boot 2.1+)以获取对JDK 11+的支持,作为从JDK 8进行长期支持迁移的常见路径。没有任何早期的Spring版本在JDK 11上得到官方支持,特别是不支持JDK 11字节码级别。请注意,第三方组件可能尚未完全支持JDK 11,因此您可能在全栈选项上受到限制。

英文:

Quoted from Spring Project Github Wiki

> Please upgrade to Spring Framework 5.1+ (and the corresponding Spring
> Boot 2.1+) for JDK 11+ support, as the common Long-Term Support
> migration path from JDK 8. No earlier Spring versions are officially
> supported on JDK 11, in particular not with JDK 11 bytecode level.
> Note that third-party components might not fully support JDK 11 yet,
> so you are likely to be limited in your full-stack options.

huangapple
  • 本文由 发表于 2020年4月8日 11:39:49
  • 转载请务必保留本文链接:https://go.coder-hub.com/61092950.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定