Java 22 / JDK 22: 通用可用性

主要观点:JDK 22 即 Java 22 的参考实现已正式通用发布,2 月 16 日发布了作为 JDK 22 第二个候选版本的 build 36,此后未报告 P1 级 bug,build 36 成为 GA 版本可用于生产;GPL 许可的 Oracle OpenJDK 构建可在https://jdk.java.net/22获取,其他供应商的构建也将很快推出;此版本包含 12 个 JEPs 及众多小增强和 bug 修复。
关键信息

  • 发布时间:2024 年 3 月 19 日
  • 候选版本发布时间:2 月 16 日
  • 包含的 JEPs:Region Pinning for G1、Statements before super(...) (Preview)、Foreign Function & Memory API、Unnamed Variables & Patterns、Class-File API (Preview)、Launch Multi-File Source-Code Programs、String Templates (Second Preview)、Vector API (Seventh Incubator)、Stream Gatherers (Preview)、Structured Concurrency (Second Preview)、Implicitly Declared Classes and Instance Main Methods (Second Preview)、Scoped Values (Second Preview)
    重要细节
  • 按线程排序的相关消息:Tier1 failure: test machine short of memory?Java 22 / JDK 22: General Availability,排序方式有[ date ][ thread ][ subject ][ author ]
  • 感谢所有为该版本做出贡献的人
  • More information about the jdk-dev mailing list提供更多关于 jdk-dev 邮件列表的信息
阅读 16
0 条评论