Integrated: 8294670: Enhanced switch statements have an implicit default which does not complete normally

Jan Lahoda jlahoda at openjdk.org
Thu Oct 20 15:25:51 UTC 2022


On Mon, 3 Oct 2022 14:48:57 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> When a synthetic `default` is generated for enhanced switch, it never completes normally, which should be used when detecting liveness after the switch statement, which is what this patch is trying to do.

This pull request has now been integrated.

Changeset: 7bc9692a
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7bc9692a5181a0db92ac2e0bca83dfe0bf2de05a
Stats:     119 lines in 4 files changed: 114 ins; 2 del; 3 mod

8294670: Enhanced switch statements have an implicit default which does not complete normally

Reviewed-by: vromero

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

PR: https://git.openjdk.org/jdk/pull/10540


More information about the compiler-dev mailing list