[patch] catch configure errors
Thorsten Glaser
t.glaser at qvest-digital.com
Wed Jan 31 03:17:56 UTC 2024
Hi,
the current configure wrapper ostensibly tries to catch the
errorlevel of the configure invocation ($?) into $conf_result_code.
The problem is that it fails to do so correctly because the actual
“throw” is hidden behind both pipes and subshells.
The patch fixes this by writing it (in just another subshell, to
be able to actually do that) into a temporary file and reading it
back from there later.
Please apply,
//mirabilos
--
Infrastrukturexperte • Qvest Digital AG
Am Dickobskreuz 10, D-53121 Bonn • https://www.qvest-digital.com/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 18196 • USt-ID (VAT): DE274355441
Vorstand: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Vorsitzender Aufsichtsrat: Peter Nöthen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: catch-configure-errors.diff
Type: text/x-diff
Size: 835 bytes
Desc:
URL: <https://mail.openjdk.org/pipermail/jdk8u-dev/attachments/20240131/c1b45692/catch-configure-errors.diff>
More information about the jdk8u-dev
mailing list