IT资讯 Java 22 GA 发布

solomon · 2024-03-20 16:00:09 · 热度: 3

JDK 22 GA 发布了,2月16日 JDK 22 发布了第二个 RC 版本,在接下来的时间内没有发现任何 P1 Bug ,现在 GA 正式发布了,可用于生产环境。

使用 GPL 许可的 OpenJDK 22 可以通过下面地址获取:

https://jdk.java.net/22

该版本包含 12 个 JEPs,包括最终版的外部函数以及内存 API 以及未命名变量和模式(JEP 456),同时包括:

  423: Region Pinning for G1
  447: Statements before super(...) (Preview)
  454: Foreign Function & Memory API
  456: Unnamed Variables & Patterns
  457: Class-File API (Preview)
  458: Launch Multi-File Source-Code Programs
  459: String Templates (Second Preview)
  460: Vector API (Seventh Incubator)
  461: Stream Gatherers (Preview)
  462: Structured Concurrency (Second Preview)
  463: Implicitly Declared Classes and Instance Main Methods (Second Preview)
  464: Scoped Values (Second Preview)

该版本同时还包括数百个小的增强以及上千个 bug 修复。

这里有一篇新特性详细解读:https://my.oschina.net/didispace/blog/11048218

为您推荐与 java 相关的帖子:

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册