[jdk21u-dev] RFR: 8339238: Update to use jtreg 7.5.1 [v2]

Adam Farley afarley at openjdk.org
Fri Feb 13 16:00:16 UTC 2026


On Tue, 10 Feb 2026 11:05:44 GMT, Adam Farley <afarley at openjdk.org> wrote:

>> Hi all,
>> 
>> This pull request contains a backport of commit [9042aa82](https://github.com/openjdk/jdk25u-dev/commit/9042aa82a890b0f0348ac8127dbd3268f2620346) from the [openjdk/jdk25u-dev](https://github.com/openjdk/jdk25u-dev) repository.
>> 
>> The commit being backported was authored by Christian Stein on 19 Feb 2025 and was reviewed by Erik Joelsson, Jaikiran Pai, Roger Riggs and Iris Clark.
>> 
>> Thanks!
>
> Adam Farley has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Compile NativeTestHelper with enable-preview
>   
>   Because otherwise it will not compile while using jtreg 7.5.1
>   as TestNested's enable-preview is not inherited.
>   
>   Signed-off-by: Adam Farley <adfarley at ibm.com>

As discussed [here](https://github.com/openjdk/jdk21u-dev/pull/2606) I have learned that the jtreg minimum version increase and the fix for Win8365790Test.java are two separate issues. 

Win8365790Test.java will be fixed in https://github.com/openjdk/jdk21u-dev/pull/2606

As for the foreign classes in TestNested.java, as you say, they do not appear to be preview classes in JDK25.

So JDK25 will not need this change in order to pass the test.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2605#issuecomment-3897959025


More information about the jdk-updates-dev mailing list