New candidate JEP: 361: Switch Expressions (Standard)

Gavin Bierman gavin.bierman at
Fri Sep 27 16:45:16 UTC 2019

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: <>

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!

> On 25 Sep 2019, at 23:32, mark.reinhold at wrote:
> - Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amber-spec-experts mailing list