JEP proposed to target JDK 18: 420: Pattern Matching for switch (Second Preview)
Posted on November 16, 2021
The following JEP is proposed to target JDK 18: 420: Pattern Matching for switch (Second Preview)…
More at https://openjdk.java.net/jeps/420