RFR: 8373887: jpackage tests may potentially deadlock [v2]

Alexander Matveev almatvee at openjdk.org
Thu Dec 18 01:08:53 UTC 2025


On Wed, 17 Dec 2025 15:21:54 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

>> Fix potential deadlock in `jdk.jpackage.test.Executor.runExecutable()`: read subprocess's output streams concurrently in separate threads instead of reading them sequentially from the same thread.
>> 
>> This change required updating some test cases in the corresponding unit test.
>
> Alexey Semenyuk has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   Fix WinResourceTest deadlock

Looks good.

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

Marked as reviewed by almatvee (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28872#pullrequestreview-3590267233


More information about the core-libs-dev mailing list