RFR: 7903047: Make JUnit runner use the JUnit Platform Launcher [v16]

Jonathan Gibbons jjg at openjdk.java.net
Mon May 16 17:01:02 UTC 2022


On Mon, 2 May 2022 16:11:11 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> Make JUnit runner use the JUnit Platform Launcher
>> 
>> See https://bugs.openjdk.java.net/browse/CODETOOLS-7903047
>
> Christian Stein has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 18 additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into 7903047-junit-with-platform-launcher
>  - Fix typo
>  - Run in `agent` and `other` VM mode
>  - Address review comments
>  - Add support for `runWithJUnit4` flag
>  - Replace one last `var` usage
>  - Agent's sources target Java SE release 8
>  - Remove JUnit Trace test from set of initial tests
>  - Check usage of standard and parameterized Jupiter API
>  - Fix typo
>  - ... and 8 more: https://git.openjdk.java.net/jtreg/compare/d343a1ea...5133c93f

Marked as reviewed by jjg (Lead).

src/share/classes/com/sun/javatest/regtest/agent/JUnitRunner.java line 88:

> 86:         }
> 87:     }
> 88: 

It's good to have the fallback for a while, but in time (7.1, 7.2) we should remove it.

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

PR: https://git.openjdk.java.net/jtreg/pull/78


More information about the jtreg-dev mailing list