[code-reflection] RFR: Fails if code model was compiled by a feature version different from the current

Mourad Abbay mabbay at openjdk.org
Mon Dec 8 19:39:09 UTC 2025


Before we build a code model, we check if the Java feature version used to compile the code model matches the current one. In case there's no match, we throw an exception.

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

Commit messages:
 - Fails if code model was compiled by a feature version different from the current

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

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


More information about the babylon-dev mailing list