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

Paul Sandoz psandoz at openjdk.org
Wed Dec 10 23:29:38 UTC 2025


On Wed, 10 Dec 2025 15:09:45 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> 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

We can work out how to test this in a subsequent PR.

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

Marked as reviewed by psandoz (Lead).

PR Review: https://git.openjdk.org/babylon/pull/738#pullrequestreview-3564908271


More information about the babylon-dev mailing list