RFR: JDK-8232684: Make switch expressions final

Jan Lahoda jan.lahoda at oracle.com
Mon Oct 21 13:49:07 UTC 2019


As part of preparation for proposing JEP 361: Switch Expressions 
(Standard) to target, I would like to ask for a review of the patch to 
make switch expression a non-preview feature in javac:

The patch basically removes the feature from the list of preview 
features, updates test to this new state (removes --enable-preview from 
associated tests, and adjusts their expected output), and removes the 
@PreviewFeature annotation and associated text from the javadoc of the 
Trees API.

I also would like to ask for a review for the CSR associated with that:

Reviews/comments on either of these would be very welcome!

JBS: https://bugs.openjdk.java.net/browse/JDK-8232684



More information about the compiler-dev mailing list