RFR: 8336781: Erroneous exhaustivity check with boolean switch
Vicente Romero
vromero at openjdk.org
Fri Jul 19 14:43:30 UTC 2024
On Thu, 18 Jul 2024 20:25:57 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:
> In the case of a `Boolean` switch with 3 values true, false and `null` there was a miscalculation on what consists an exhaustive switch. This PR addresses this bug by removing the values true and false (instead of adding and comparing with 2 expected values).
lgtm
-------------
Marked as reviewed by vromero (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20243#pullrequestreview-2188409334
More information about the compiler-dev
mailing list