Java 22 GA 发布

软件资讯 软件资讯 发布于 1年前 19 浏览 0 回复

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 23 / JDK 23 正式发布
  • Java 之父 James Gosling 宣布退休
  • Java 21 / JDK 21 (LTS) GA
  • Java 22 发布
  • 86% 的用户因成本等原因放弃 Oracle Java
  • 同类文章推荐:

  • Ubuntu 26.04 LTS 将内置官方 AMD ROCm 软件包
  • 阿里通义发布 Qwen3-Omni-Flash-2025-12-01
  • OrientDB 3.2.47 版本发布
  • Laravel framework 12.42.0 发布
  • Apache Tomcat 11.0.15 发布
  • JavaScript 诞生 30 周年