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

Mourad Abbay mabbay at openjdk.org
Wed Dec 10 15:09:45 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.

Mourad Abbay has updated the pull request incrementally with two additional commits since the last revision:

 - Encapsulate the logic of checking java version in a helper func
 - Delete unused field

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/738/files
  - new: https://git.openjdk.org/babylon/pull/738/files/325dabd1..d3ee0f78

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

  Stats: 46 lines in 1 file changed: 23 ins; 22 del; 1 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