[code-reflection] RFR: Switch lowering fixes

Adam Sotona asotona at openjdk.org
Fri Jan 2 13:35:32 UTC 2026


This patch fixes `bytecode/impl/LoweringTransform` with unboxing selector, implicit default target leading to exit block and conversion of constant labels.
Unreflect runs of `TestSwitchExpressionOp` and `TestSwitchStatementOp` are now enabled and pass.

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

Commit messages:
 - fixed converted constant labels
 - unboxing selector

Changes: https://git.openjdk.org/babylon/pull/804/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=804&range=00
  Stats: 28 lines in 3 files changed: 22 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/babylon/pull/804.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/804/head:pull/804

PR: https://git.openjdk.org/babylon/pull/804


More information about the babylon-dev mailing list