JDK 24 发布了

179 天前
 Ayanokouji
Features

404: Generational Shenandoah (Experimental)
450: Compact Object Headers (Experimental)
472: Prepare to Restrict the Use of JNI
475: Late Barrier Expansion for G1
478: Key Derivation Function API (Preview)
479: Remove the Windows 32-bit x86 Port
483: Ahead-of-Time Class Loading & Linking
484: Class-File API
485: Stream Gatherers
486: Permanently Disable the Security Manager
487: Scoped Values (Fourth Preview)
488: Primitive Types in Patterns, instanceof, and switch (Second Preview)
489: Vector API (Ninth Incubator)
490: ZGC: Remove the Non-Generational Mode
491: Synchronize Virtual Threads without Pinning
492: Flexible Constructor Bodies (Third Preview)
493: Linking Run-Time Images without JMODs
494: Module Import Declarations (Second Preview)
495: Simple Source Files and Instance Main Methods (Fourth Preview)
496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism
497: Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm
498: Warn upon Use of Memory-Access Methods in sun.misc.Unsafe
499: Structured Concurrency (Fourth Preview)
501: Deprecate the 32-bit x86 Port for Removal


https://openjdk.org/projects/jdk/24/

https://medium.com/graalvm/welcome-graalvm-for-jdk-24-7c829fe98ea1


此版本是非 lts 版本,今年 9 月份的 jdk 25 是 lts 版本


本帖不欢迎刷 jdk8 梗,都是 10 多年前的技术了,2014 年 3 月 18 日发布。
12378 次点击
所在节点    Java
106 条回复
gitrebase
179 天前
结构化并发啥时候能转正啊…
wysnxzm
179 天前
有些人并没有意识到自己不追赶技术就会被技术追赶并淘汰的现实
wwalkingg
179 天前
@ExplodingFKL 新的调用 Native 方法的特性很有吸引力啊
daye
179 天前
不要再说“你强任你强, 我用 Java 8”,都什么时代了,至少 JDK11 以上,现在主流已经是 17 ,还在 Java8 的都是老古董项目了,还坚持你强任你强,只会被后浪拍死在沙滩上
daye
179 天前
@linquan 根据 2024 年的 New Relic 2024 Java 生态系统状态报告,Java 17 、11 和 8 的用户比例分别为 35%、33% 和 29%。
LowBi
179 天前
java 啥时能做到 Windows 级别的向下兼容,那就真的没人再谈 jdk8 的梗了,目前跟着服务器 jdk 版本,服务器不升我不升
spike0100
179 天前
刚给服务用上 17 ,多行文本和 switch 表达使用的美滋滋的。不知道怎么坚持 j8 用了这么多年的
wetalk
179 天前
搞个投票,统计 V 站的朋友目前使用的 JDK 版本,以及对应项目的行业和大致流量,应该比较具有参考下
me1onsoda
179 天前
@LowBi 越是兼容越是屎山,难以维护。有几个编程语言能做到这样的兼容
yty2012g
179 天前
491 是真不错,终于更敢用 Virtual Thread 了
487 和 499 是不是计划 jdk25 release ?届时,下一代 Concurrency 模型应该是有一波显著的升级
cheng6563
179 天前
Java 项目升级没那么难,只要你项目里没用那些意义不明的 sun 包的东西。
sagaxu
179 天前
@linquan 主流 17 ,其次 11 。新项目拉 springboot ,支持的最低版本是 17 。

cubecube
179 天前
谨慎升级

486: Permanently Disable the Security Manager

这个改动,兼容性问题很大,第三方库得修好一阵子才能搞定。
ychost
179 天前
@wangtian2020 groovy 啥都支持,对于 CRUD 挺爽的
BrookO
179 天前
我想问下,有没有人还在用 java6 的
Kamiyu0087
179 天前
我们公司都是 11 和 17
没有用 8 的
NoKey
179 天前
这不老生常谈么,对于已经运营多年的老旧大型项目,基本准则就是能不动绝对不动,那不是 java8 是啥呢。。。。
Niizuki
179 天前
我们老古董公司还在用 jdk8 ,醉了
securityCoding
179 天前
@lujiaxing 我真的在用 java8 ,中国把 spark 版本钉死了
securityCoding
179 天前
@securityCoding 中国=》中台

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1119493

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX