Java Language Futures, Spring 2023 Edition

preview_player
Показать описание
Through Project Amber, the Java programming language is evolving faster than ever. Watch this video to get an overview of many of the Java language enhancements that have appeared in recent Java versions, including Java 20. You’ll also get a glimpse of the future as we look ahead to directions and features that are in development for future Java releases.

An Oracle DevLive Level Up - Java Developer Day session.
Presented by Stuart Marks - Consulting Member of Technical Staff (Oracle)

Tags: #Java #OpenJDK #JDK #Java20 #JDK20
Рекомендации по теме
Комментарии
Автор

You can use pattern matching at a statement level, would be nice if you could use it at a method level. Example:
void printPoint(match Point(x, y))
void printPoint(Object o)

The first method gets called for points, the second gets called for everything else.

knmxgrjjhgt
Автор

Union types like we have for catch already would be great, in particular with patten matching in switch.

haramarikirschnereit
Автор

I wonder why the Java team didn't include a copy method for record classes.

amitsen
Автор

When is Valhalla being previewed?
They started in 2014 and still not even a first preview in 2023?

encapsulatio
Автор

They keep adding not relevant features, while ignoring the important ones, like C# properties...

markramirez