- Fixed by introducing `UnavailableExitCodeException` which will be thrown when 
command timeouts to signal that exit code is not available.
- Added test coverage for `UnavailableExitCodeException`.
- `CodesignException` and `retryUntilExitCodeIs` adjusted for new exception.


---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - IllegalStateException when command executed by jpackage Executor timeouts

Changes: https://git.openjdk.org/jdk/pull/31032/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31032&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8383821
  Stats: 46 lines in 4 files changed: 36 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/31032.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31032/head:pull/31032

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

Reply via email to