[jdk21u] RFR: 8318144: Match on enum constants with body compiles but fails with MatchException

Jan Lahoda jlahoda at openjdk.org
Tue Nov 7 12:13:48 UTC 2023


Hi all,

This pull request contains a backport of commit [541ff714](https://github.com/openjdk/jdk/commit/541ff7149f9c6480535219ab06a2576f8399703a) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

The commit being backported was authored by Jan Lahoda on 7 Nov 2023 and was reviewed by Chen Liang and Vicente Romero.

Thanks!

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

Commit messages:
 - Backport 541ff7149f9c6480535219ab06a2576f8399703a

Changes: https://git.openjdk.org/jdk21u/pull/332/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u&pr=332&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318144
  Stats: 122 lines in 3 files changed: 120 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk21u/pull/332.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u.git pull/332/head:pull/332

PR: https://git.openjdk.org/jdk21u/pull/332


More information about the jdk-updates-dev mailing list