RFR: 8294670: Enhanced switch statements have an implicit default which does not complete normally
Jan Lahoda
jlahoda at openjdk.org
Mon Oct 3 15:08:58 UTC 2022
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.
-------------
Commit messages:
- 8294670: Enhanced switch statements have an implicit default which does not complete normally
Changes: https://git.openjdk.org/jdk/pull/10540/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10540&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8294670
Stats: 119 lines in 4 files changed: 114 ins; 2 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/10540.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10540/head:pull/10540
PR: https://git.openjdk.org/jdk/pull/10540
More information about the compiler-dev
mailing list