RFR: 7903373: Add ability to customize test execution using main wrapper plugin [v11]

Jonathan Gibbons jjg at openjdk.org
Tue Feb 14 00:09:52 UTC 2023


On Sun, 29 Jan 2023 22:05:56 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> The fix adds support of a plugin that customizes test execution.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Added new file.

src/share/classes/com/sun/javatest/regtest/agent/TestThreadFactory.java line 39:

> 37: /**
> 38:  * {@code TestThreadFactory} allows some customization of test execution.
> 39:  * The jtreg creates new thread for each test using {@code new Thread(ThreadGroup tg, Runnable task);}.

Line 39, `jtreg creates a new thread...`

If I understand you correctly, this might be better as:


By default, jtreg creates a new thread for each test using {@code ...}, but this may be overridden by providing
an implementation of this interface, which might provide user-defined threads for test execution.

src/share/classes/com/sun/javatest/regtest/agent/TestThreadFactory.java line 40:

> 38:  * {@code TestThreadFactory} allows some customization of test execution.
> 39:  * The jtreg creates new thread for each test using {@code new Thread(ThreadGroup tg, Runnable task);}.
> 40:  * The implementation of this interface might provide user-defined threads for test execution.

Change `The` to `An`

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

PR: https://git.openjdk.org/jtreg/pull/136


More information about the jtreg-dev mailing list