RFR: 8295192: Use original configure command line when called from a script

Magnus Ihse Bursie ihse at openjdk.org
Wed Oct 12 08:13:04 UTC 2022


Sometimes, the configure script is not called directly, but indirectly, using e.g. a wrapper script. This happens for instance in the case of using jib.sh.

In such cases, calling "make reconfigure" will not re-execute the original wrapper script. This can result in subtle bugs.

Instead, make a way to save the original command line from a wrapper script, and use that instead when running "make reconfigure". 

This PR also includes the corresponding changes needed to utilize this in jib.sh.

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

Commit messages:
 - 8295192: Use original configure command line when called from a script

Changes: https://git.openjdk.org/jdk/pull/10669/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10669&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8295192
  Stats: 57 lines in 5 files changed: 54 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10669.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10669/head:pull/10669

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



More information about the build-dev mailing list