Java Cup
Inside Java

News and views from members of the Java team at Oracle

Episode 17 “Pattern Matching for switch” [AtA]

Posted on June 13, 2021

In this episode, David discusses with Gavin Bierman a new set of Java language features coming from Project Amber, i.e. Pattern Matching. In addition to sealed classes and pattern matching for instanceof, they are covering in great detail a new (and great!) JDK 17 preview feature: pattern matching for switch.

Show Notes

Java 16

Java 17

Post Java 17

Additional Resources

In our show "Ask the Architects", we talk to experts in OpenJDK about their work on the Java language, API, and runtime. For Inside Java Podcast episodes, check out the podcast page or our YouTube playlist. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.