On Tue, 24 May 2022 19:49:35 GMT, Ioi Lam <ik...@openjdk.org> wrote: >> 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.
It confused me, fwiw. Anyway up to you. It's not super important. ------------- PR: https://git.openjdk.java.net/jdk/pull/8858