[code-reflection] RFR: Detect if a java switch is case constant [v2]

Mourad Abbay mabbay at openjdk.org
Fri Nov 28 16:05:41 UTC 2025


> Add the logic to check if a switch op is case constant.

Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:

  Change the logic to return true only when labels in bytecode matches labels in source code

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/710/files
  - new: https://git.openjdk.org/babylon/pull/710/files/38fa5d0c..cf9318fc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=710&range=01
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=710&range=00-01

  Stats: 138 lines in 2 files changed: 88 ins; 30 del; 20 mod
  Patch: https://git.openjdk.org/babylon/pull/710.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/710/head:pull/710

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


More information about the babylon-dev mailing list