RFR: 8370136: Support async execution of jpackage tests

Alexander Matveev almatvee at openjdk.org
Mon Oct 20 23:09:00 UTC 2025


On Fri, 17 Oct 2025 19:36:58 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> $subj
> 
> In a nutshell, wrap static fields of TKit and JPackageCommand classes into inheritable thread-local wrappers.
> 
> As a side effect of this change, had to rework the "WinNoRestartTest.java" test to explicitly start a worker thread instead of using ExecutorService because it doesn't work well with the new inheritable thread-local wrappers.

Looks good.

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

Marked as reviewed by almatvee (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27877#pullrequestreview-3358181515


More information about the core-libs-dev mailing list