RFR: JDK-8289798: Update to use jtreg 7 [v6]

Thomas Stuefe stuefe at openjdk.org
Mon Sep 5 06:39:21 UTC 2022


On Mon, 5 Sep 2022 06:12:18 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> Please review the change to update to using jtreg 7.
>> 
>> The primary change is to the `jib-profiles.js` file, which specifies the version of jtreg to use, for those systems that rely on this file. In addition, the `requiredVersion` has been updated in the various `TEST.ROOT` files.
>
> Christian Stein has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 14 commits:
> 
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - Update configure to check for jtreg 7 or later
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - Revert junit.java
>    
>    Commit https://github.com/openjdk/jdk/commit/45c3e898ed538545921395372fe507e9111401e1 deleted this file
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - Update to new JUnit JAR file
>    
>    With version 7 of `jtreg` comes JUnit Platform 1.8.2 (also known as "JUnit 5.8.2").
>    This change updates the hard-coded library tag value to the new JUnit JAR file.
>    Therefore, it partly addresses https://bugs.openjdk.org/browse/JDK-8292316,
>    in order to unblock the "Update to use jtreg 7" PR 9393:
>    https://github.com/openjdk/jdk/pull/9393
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - Merge branch 'openjdk:master' into JDK-8289798-jtreg-7
>  - ... and 4 more: https://git.openjdk.org/jdk/compare/3464019d...16b140ab

Is jtreg 7 downward compatible? Can I use it to test older JDKs, if yes, down to which version?

Thanks!

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

PR: https://git.openjdk.org/jdk/pull/9393


More information about the compiler-dev mailing list