Exception handling in switch (Preview)
Alex Buckley
alex.buckley at oracle.com
Fri Apr 19 17:45:42 UTC 2024
On 4/19/2024 6:05 AM, Angelos Bimpoudis wrote:
> 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
I tightened things up throughout and added myself as a reviewer.
Alex
More information about the amber-spec-experts
mailing list