Java 22 GA 发布

软件资讯 软件资讯 发布于 1年前 20 浏览 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



为您推荐相关文章:

  • Oracle 公布 2026 年 Java 开发计划
  • 同类文章推荐:

  • Zotero 8 正式发布
  • GNU C Library 2.43 发布
  • Spring Modulith 2.1 M1、2.0.2 和 1.4.7 发布
  • Spring AI 2.0.0-M2 现已发布
  • GIMP 3.0.8 发布
  • SQLiteStudio 3.4.21 发布