Exploring New Features in JDK 23: Null object pattern to avoid null pointer exception with JEP-455
Author: Miro Wengner Original post on Foojay: Read More The newest release JDK 23 [2] comes with a neat extension to pattern matching for switch and instanceof statements, JEP-455: Primitive Types in Patterns, instanceof and switch [1]. While the introduction of pattern matching can be considered a crucial element in moving the Java platform into a functional paradigm, it introduced …
Read More »