On Wed, 7 May 2025 03:05:31 GMT, Shaojin Wen <s...@openjdk.org> wrote:

>> enhanced 'switch' is just syntax sugar and does not affect startup speed
>
> I looked at the generated bytecode through javap and confirmed that the 
> enhanced switch is just syntactic sugar and no additional classes are 
> generated.

Thanks for clarifying this @wenshao ! I will go ahead and make the changes 
proposed by you here.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25043#discussion_r2077073780

Reply via email to