甲骨文 发布了Java 编程语言和虚拟机的 23 版本。作为 JDK 21 之后的第一个非 LTS 版本,最终的 12 个 JEP 特性包括: JEP 455:模式、instanceof 和 switch 中的原始类型(Primitive Types in Patterns, instanceof, and switch,预览) JEP 466:类文件 API(Class-File ...
上周,JEP 440(记录模式)已从 JEP Draft 8300541提升 到 Candidate 状态。该 JEP 最终确定了这一特性,并针对前 2 轮 预览 的反馈做了增强。这两轮预览分别是在 JDK 20 中发布的 JEP 432(记录模式第 2 次预览)和在 JDK 19 中发布的 JEP 405(记录模式预览)。该特性为这门 ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
JEP 526,惰性常量(第二次预览),已从JEP草案8359894提升至候选状态。以前被称为稳定值和计算常数,这个JEP在第一轮预览后提出了第二次预览,即:JEP 502,稳定值(预览版),针对JDK 26。这个特性引入了计算常量的概念,定义为最多初始化一次的不可变值占位符 ...
Java has long been a powerhouse programming language thanks to its portability, robustness and extensive ecosystem. However, one major challenge for Java developers is interoperation with native code.
JEP 534(默认采用紧凑对象头)已从 JEP Draft 8361187 升级为候选状态。该提案将 JEP 519(紧凑对象头)(已随 JDK 25 发布)设为 HotSpot JVM 中的默认对象头布局。要了解有关紧凑对象头的更多详情,请参阅InfoQ 的这篇新闻报道。 JEP 533(结构化并发第七个预览版)已从 ...