[jdk17u-dev] RFR: 8376188: Proposal to increase jtreg minimum version to 7.5.1
Andrew Hughes
gnu.andrew at redhat.com
Thu Feb 12 23:02:22 UTC 2026
On 11:34 Mon 09 Feb 2026, Adam Farley wrote:
> Hi All,
>
> Win8365790Test is not compatible with jtreg versions earlier than 7.5.1+1, as mentioned in this issue.
>
> https://bugs.openjdk.org/browse/JDK-8376188
>
> Option A: We could backport the change to jdk25 that upgrades the minimum jtreg version to 7.5.1
> https://github.com/openjdk/jdk25u-dev/commit/9042aa82a890b0f0348ac8127dbd3268f2620346
> This solves the current problem and provides protection against future backports.
> However, changing the jtreg minimum could have effects on the other tests.
>
> Option B: We can alter the test in JDK 17 and 21 to make it compatible with jtreg 7.3.1
> This solves the current problem, but provides no protection against future backports.
>
> What do you think?
>
> Warm Regards,
>
> Adam Farley
> Software Developer
> Project Adoptium
>
I would go with option A. I've actually just been suggesting to
Severin that we need to update the jtreg in 8u (which is still stuck
on 4 or 5) for much the same reason.
The other problem with B is it assumes someone first catches that said
test is incompatible with the older jtreg. There is a minimum jtreg
version, but no maximum jtreg version. It is therefore very easy for
someone to use a newer jtreg to run the test when backporting and
completely miss that it won't work with the minimum version.
This has now happened twice in 8u (though with jtreg 7 code not
working with jtreg 5). The last time led to me hastily rewriting a
test in a security backport in the early hours of the morning. I
would rather avoid that in future and update the minimum jtreg. It is
also a good opportunity to run other tests and bring updates to them
as well.
The main pain in this is not long-term, but the short term of having
to backport test fixes. This is why I tend to believe that we'd
actually be better having a shared test suite independent of the
various source trees (as we used to with GNU Classpath & gcj).
Warm regards,
--
Andrew :)
Pronouns: he / him or they / them
Red Hat, Inc. (http://www.redhat.com)
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
Please contact via e-mail, not proprietary chat networks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/jdk-updates-dev/attachments/20260212/cf68d1f4/signature.asc>
More information about the jdk-updates-dev
mailing list