RFR: 7903809: Invalid source release N with --enable-preview [v4]

Jaikiran Pai jpai at openjdk.org
Thu Sep 12 13:56:21 UTC 2024


On Thu, 12 Sep 2024 13:50:35 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> Please review this change to prevent "invalid source release N with --enable-preview" errors for when an explicit compile task targets a different JDK feature release number then the JDK under test (running the compilation).
>
> Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplify source/release version detection

The changes look OK to me. Thank you for updating the code. I hope this helps fix the failing tests in the JDK repo.

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

Marked as reviewed by jpai (Reviewer).

PR Review: https://git.openjdk.org/jtreg/pull/226#pullrequestreview-2300399923


More information about the jtreg-dev mailing list