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.

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

Commit messages:
 - Fix WinResourceTest deadlock

Changes: https://git.openjdk.org/jdk/pull/28872/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28872&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373887
  Stats: 42 lines in 2 files changed: 38 ins; 0 del; 4 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

Reply via email to