Pattern Matching for switch (Second Preview)

Jan Lahoda jan.lahoda at oracle.com
Wed Sep 22 16:11:13 UTC 2021


Hi,

There is a new draft JEP for preview 2 of Pattern Matching for switch here:
https://bugs.openjdk.java.net/browse/JDK-8273326

The exact changes that will be done under this round of preview are yet 
to be determined, but changes related to generics handling in pattern 
matching switches seem to be plausible.

Feedback is welcome!

Thanks,
     Jan



More information about the amber-dev mailing list