-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 16
-
Component/s: tools
-
Verified
Pattern matching for the `instanceof` operator has been made a final and permanent feature of the Java language in JDK 16. Pattern matching allows common logic in a Java program to be expressed more concisely and safely, namely the conditional extraction of components from objects.
For further details, see [JEP 394](https://openjdk.java.net/jeps/394).
For further details, see [JEP 394](https://openjdk.java.net/jeps/394).