RFR: JDK-8232684: Make switch expressions final
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Oct 21 14:17:20 UTC 2019
Looks generally good - went through the test updates one by one and
they look ok, except this:
http://cr.openjdk.java.net/~jlahoda/8232684/webrev.00/test/langtools/tools/jdeps/listdeps/ListModuleDeps.java.udiff.html
Which you explained to me offline (we need to change this code every
time the compiler stops using the @Preview annotation - ugh). Nothing
specific to this webrev, so I approve.
Maurizio
On 21/10/2019 14:49, Jan Lahoda wrote:
> 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