On Tue, 24 May 2022 19:34:16 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:

>> This is not a fall-through because the previous line ends with a `break`.
> My bad. How about `Intentional incomplete switch. There are ...`? Anyway, why 
> is the empty `default` case needed other than for the comment?

To me, the `default:` switch is a clear indication that "everything else comes 
here". So you won't be confused whether the comment is related to the last line 
just above the comment.


PR: https://git.openjdk.java.net/jdk/pull/8858

Reply via email to