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

Mourad Abbay mabbay at openjdk.org
Thu Dec 11 00:15:37 UTC 2025


On Mon, 8 Dec 2025 19:32:49 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.

This pull request has now been integrated.

Changeset: e529f177
Author:    Mourad Abbay <mabbay at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/e529f17778a40d27835ab7fcd0b6e89f4d53a44f
Stats:     46 lines in 3 files changed: 46 ins; 0 del; 0 mod

Fails if code model was compiled by a feature version different from the current

Reviewed-by: psandoz

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

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


More information about the babylon-dev mailing list