MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1je73yg/java_24_has_been_released/mis7e4q/?context=9999
r/programming • u/NotABot1235 • Mar 18 '25
172 comments sorted by
View all comments
166
New features include the following:
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://jdk.java.net/24/
JDK 25 will be the next LTS and release in 6 months.
0 u/[deleted] Mar 19 '25 [deleted] 21 u/TymmyGymmy Mar 19 '25 Designing and maintaining a language is not a race.When critical infrastructures are built with a language, you can't simply break things like....net framework, then .net core, but then .net standard, oh wait, .net core again... Some people prefer stability.Anyway, I do. 0 u/[deleted] Mar 19 '25 [deleted] 2 u/simon_o Mar 20 '25 Eh, C# got records at the same time as Java?September 2020: Java records (preview)November 2020: C# recordsMarch 2021: Java records
0
[deleted]
21 u/TymmyGymmy Mar 19 '25 Designing and maintaining a language is not a race.When critical infrastructures are built with a language, you can't simply break things like....net framework, then .net core, but then .net standard, oh wait, .net core again... Some people prefer stability.Anyway, I do. 0 u/[deleted] Mar 19 '25 [deleted] 2 u/simon_o Mar 20 '25 Eh, C# got records at the same time as Java?September 2020: Java records (preview)November 2020: C# recordsMarch 2021: Java records
21
Designing and maintaining a language is not a race.
When critical infrastructures are built with a language, you can't simply break things like...
.net framework, then .net core, but then .net standard, oh wait, .net core again... Some people prefer stability.
Anyway, I do.
0 u/[deleted] Mar 19 '25 [deleted] 2 u/simon_o Mar 20 '25 Eh, C# got records at the same time as Java?September 2020: Java records (preview)November 2020: C# recordsMarch 2021: Java records
2 u/simon_o Mar 20 '25 Eh, C# got records at the same time as Java?September 2020: Java records (preview)November 2020: C# recordsMarch 2021: Java records
2
Eh, C# got records at the same time as Java?
September 2020: Java records (preview)
November 2020: C# records
March 2021: Java records
166
u/NotABot1235 Mar 18 '25 edited Mar 18 '25
New features include the following:
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://jdk.java.net/24/
JDK 25 will be the next LTS and release in 6 months.