Java Language Evolution in 2025 - Inside Java Newscast #84

Channel

In 2025, the Java language keeps evolving. Here's how Project Amber plans to push Java forward: from flexible constructor bodies to simplified main, from module imports to primitive and deconstruction patterns, from withers to string templates.

Project Amber: https://openjdk.org/projects/amber/
Mailing list: https://mail.openjdk.org/mailman/listinfo/amber-dev
Come to JavaOne: https://www.oracle.com/javaone/

~~~ Chapters ~~~

0:00 Intro
Java's Plans for 2025: https://www.youtube.com/watch?v=y26XGt8d_kI
1:05 Preview - Flexible Constructor Bodies
Statements Before `super` and `this`: https://www.youtube.com/watch?v=cI-fY9YlmH4
JEP 492: Flexible Constructor Bodies: https://openjdk.org/jeps/492
2:09 Preview – Simplified Main
Script Java Easily: https://www.youtube.com/watch?v=P9JPUbG5npI
JEP 495: Simple Source Files and Instance Main Methods: https://openjdk.org/jeps/495
2:33 Preview – Module Imports
Module Imports: https://www.youtube.com/watch?v=WHknBEhzB0k
JEP 494: Module Import Declarations: https://openjdk.org/jeps/494
3:04 Preview – Primitive Patterns
Restoring the Balance with Primitive Patterns: https://www.youtube.com/watch?v=_afECXGjfDI
JEP 488: Primitive Types in Patterns, instanceof, and switch: https://openjdk.org/jeps/488
3:50 Exploration – Deconstruction
5:25 Exploration – Withers
Java Withers: https://www.youtube.com/watch?v=tcihVdB7oU8
JEP 468: Derived Record Creation: https://openjdk.org/jeps/468
5:53 Exploration – More Patterns
6:49 Exploration – String Templates
What Happened to Java's String Templates? https://www.youtube.com/watch?v=c6L4Ef9owuQ
Miscellaneous Work
Serialization - A New Hope: https://www.youtube.com/watch?v=fbqAyRJoQO0
JEP 502: Stable Values (Preview): https://openjdk.org/jeps/502

Tags: #Java #OpenJDK #JDK