On Fri, 28 Feb 2025 01:34:22 GMT, Alexander Matveev <almat...@openjdk.org> 
wrote:

> With `->` it should not fall into next case. Maybe I am missing something.

Right, but there are two `siwtch` blocks in the function. Without `return` the 
control flow will get to the second one. `return`-s prevents this.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23825#discussion_r1974717411

Reply via email to