RFR: JDK-8232684: Make switch expressions final

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


Hi,

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:
http://cr.openjdk.java.net/~jlahoda/8232684/webrev.00/

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:
https://bugs.openjdk.java.net/browse/JDK-8232685

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

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

Thanks!

Jan


More information about the compiler-dev mailing list