[jdk21u-dev] Integrated: 8352533: Report useful IOExceptions when jspawnhelper fails

Rui Li duke at openjdk.org
Mon Sep 8 15:28:13 UTC 2025


On Wed, 3 Sep 2025 02:27:06 GMT, Rui Li <duke at openjdk.org> wrote:

> A clean backport for https://bugs.openjdk.org/browse/JDK-8352533
> 
> The current error message of jspawnhelper is only available in stdout, but not in IOException. Applications would miss the error message if stdout isn't captured. This change makes the error message available in exceptions.
> 
> The risk is relatively low. On tip for over 3 months. Tests are running.

This pull request has now been integrated.

Changeset: 361f1797
Author:    Rui Li <ruiamzn at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/361f17979bb18ddca1df3b234e522d9d40d0f6a4
Stats:     100 lines in 3 files changed: 74 ins; 0 del; 26 mod

8352533: Report useful IOExceptions when jspawnhelper fails

Backport-of: 5c73dfc28cbd6801ac85c6685fb8c77aad3ab0b7

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

PR: https://git.openjdk.org/jdk21u-dev/pull/2142


More information about the jdk-updates-dev mailing list