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

Alexey Semenyuk asemenyuk at openjdk.org
Wed Dec 17 15:21:54 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28872/files
  - new: https://git.openjdk.org/jdk/pull/28872/files/04f3423e..4c1a8535

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28872&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28872&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/28872.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28872/head:pull/28872

PR: https://git.openjdk.org/jdk/pull/28872


More information about the core-libs-dev mailing list