Java Cup
Inside Java

News and views from members of the Java team at Oracle

Deconstructing Records in Pattern Matching - Inside Java Newscast #26

How record patterns use records' transparency to safely deconstruct them in pattern matching, allowing us to separate checking structure and value of data from processing it.

Show Notes

Record patterns:

Speculations:

Additional Resources

The Inside Java Newscast is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.