Java 21 / JDK 21 (LTS) GA

来源: OSCHINA
编辑:
2023-09-20 00:14:00

Java 21 / JDK 21 已正式 GA,此版本是继 JDK 17 后的长期支持版本 (LTS),Oracle 将为其提供至少八年的技术支持和更新

正式稳定功能

预览阶段功能

孵化阶段功能


430: String Templates (Preview)
431: Sequenced Collections
439: Generational ZGC
440: Record Patterns
441: Pattern Matching for switch
442: Foreign Function & Memory API (Third Preview)
443: Unnamed Patterns and Variables (Preview)
444: Virtual Threads
445: Unnamed Classes and Instance Main Methods (Preview)
446: Scoped Values (Preview)
448: Vector API (Sixth Incubator)
449: Deprecate the Windows 32-bit x86 Port for Removal
451: Prepare to Disallow the Dynamic Loading of Agents
452: Key Encapsulation Mechanism API
453: Structured Concurrency (Preview)

Download: https://jdk.java.net/21/
Release notes: https://jdk.java.net/21/release-notes
Features: https://openjdk.org/projects/jdk/21/

展开阅读全文
点击加入讨论🔥(84) 发布并加入讨论🔥
本篇精彩评论
这个版本相当于java8,因为增加了虚拟线程!有了虚拟线程,有了GraalVM,go语言大势已去!
2023-09-20 06:39
27
举报
我昨晚连夜下载Java21测试虚拟线程,java其它11版本,17版本我都跳过更新了,直接从java1.8更新到21版本
2023-09-20 10:42
13
举报
已从.net 转java了。 .net 全是维护祖传代码的项目。 工资给的低的离谱
2023-09-21 11:03
8
举报
这个版本必将成为又一个里程碑
2023-09-20 07:21
8
举报
java 这个虚拟线程特性,再加上GraalVM 的原生编译,感觉go的优势越来越小。
2023-09-21 11:23
6
举报
84 评论
8 收藏
分享
返回顶部
顶部