[code-reflection] RFR: 8337158: Modeling and lowering of switch statement [v4]
Mourad Abbay
mabbay at openjdk.org
Mon Aug 19 10:57:02 UTC 2024
On Fri, 16 Aug 2024 16:10:13 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Are you asking if the tests cover this ?
>
> Yes.
We do have tests that check we only add default when switch statement is enhanced and there is no implicit/explicit default. These tests can be found in SwitchStatementTest and are named: nonEnhancedSwStatNoDefault, enhancedSwStatNoDefault1, enhancedSwStatNoDefault2 and enhancedSwStatUnconditionalPattern.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/211#discussion_r1721605985
More information about the babylon-dev
mailing list