Exception handling in switch (Preview)

Guy Steele guy.steele at oracle.com
Fri Apr 19 14:10:31 UTC 2024


I just read the JEP all the way through, and it all looks good to me.

—Guy

On Apr 19, 2024, at 9:05 AM, Angelos Bimpoudis <angelos.bimpoudis at oracle.com> wrote:

Dear spec experts,

A while ago we discussed on this list about enhancing the switch​ construct to
support case​ labels that match exceptions thrown during evaluation of the
selector expression. A draft JEP for this feature is now available at:

https://bugs.openjdk.org/browse/JDK-8323658

Please take a look at this new JEP and give us your feedback.

Thanks,
Aggelos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-spec-observers/attachments/20240419/7f191440/attachment.htm>


More information about the amber-spec-observers mailing list