2 ms·IIRC they are going to release pattern matching for switch and record deconstruction as stable in JDK 21.by grishka 4y agoIIRC they are going to release pattern matching for switch and record deconstruction as stable in JDK 21.