New candidate JEP: 361: Switch Expressions (Standard)
Gavin Bierman
gavin.bierman at oracle.com
Mon Oct 21 11:22:42 UTC 2019
Just a gentle reminder if you have any feedback based on your experience with using this feature.
Gavin
> On 27 Sep 2019, at 17:45, Gavin Bierman <gavin.bierman at oracle.com> wrote:
>
> Please note that we are considering making this a permanent feature, so this is your last chance to provide substantive feedback based on any new experience you may have had with this feature.
>
> A new, draft language spec for JEP 361 (Switch Expressions) is available at:
>
> http://cr.openjdk.java.net/~gbierman/jep361/jep361-20190927/specs/switch-expressions-jls.html <http://cr.openjdk.java.net/~gbierman/jep305/jep305-20190918/specs/patterns-instanceof-jls.html>
>
> This is identical to the version made available for JEP354, apart from some cosmetic changes around terminology following some feedback.
>
> [For spec nerds: The primary change is that what was previously called a "switch labeled rule" is now called, more simply, a "switch rule”. “Switch labeled expression” is now a “switch rule expression”, “switch labeled block” is now a “switch rule block” and a “switch labeled throw statement” is now a “switch rule throw statement”.]
>
> All feedback welcomed!
> Gavin
>
>> On 25 Sep 2019, at 23:32, mark.reinhold at oracle.com <mailto:mark.reinhold at oracle.com> wrote:
>>
>> https://openjdk.java.net/jeps/361 <https://openjdk.java.net/jeps/361>
>>
>> - Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/amber-spec-experts/attachments/20191021/950d6c93/attachment-0001.html>
More information about the amber-spec-experts
mailing list