RFR: 7903931: Add "jtreg.ttf" property to filter tests based on test thread factory value

Christian Stein cstein at openjdk.org
Mon Jan 27 11:35:03 UTC 2025


On Tue, 14 Jan 2025 04:06:37 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> jtreg support test thread factory parameter that allows to execute tests by running main in virtual thread.
> 
> Currently, all incompatible tests are problemlisted. However after security manager removal the number of such tests is small.
> 
> So is it makes sense to add "jtreg.ttf" property to filter tests based on test thread factory value to allow filter out incompatible tests.
> 
> The only jtreg knows if -testThreadFactory is set so it should set corresponding property

The namespace `jtreg.` is not used in `RegressionContext` yet, but it makes sense to introduce it here.

Is `ttf` a good abbreviation for `test thread factory` though? Would `jtreg.testThreadFactory` be too long in filter expressions?

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

PR Comment: https://git.openjdk.org/jtreg/pull/242#issuecomment-2615513047


More information about the jtreg-dev mailing list