Exception handling in switch (Preview)

Angelos Bimpoudis angelos.bimpoudis at oracle.com
Fri Apr 19 13:05:42 UTC 2024


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-experts/attachments/20240419/e40552f3/attachment-0001.htm>


More information about the amber-spec-experts mailing list