Integrated: 8366836: Don't execute post-IncludeCustomExtension if file was not included
Magnus Ihse Bursie
ihse at openjdk.org
Thu Sep 4 13:20:56 UTC 2025
On Wed, 3 Sep 2025 18:49:51 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> There is a bug in make/common/MakeIncludeEnd.gmk, which makes it always include the "post" custom extension. In MakeIncludeStart.gmk, the "pre" custom extension is properly guarded by the check if the file has not already been included. This is not the case for the "post" condition, so a custom "post" hook can be included multiple times.
This pull request has now been integrated.
Changeset: 80873a09
Author: Magnus Ihse Bursie <ihse at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/80873a09bf8392d98d20273e0688b17c62252242
Stats: 10 lines in 2 files changed: 5 ins; 1 del; 4 mod
8366836: Don't execute post-IncludeCustomExtension if file was not included
Reviewed-by: erikj
-------------
PR: https://git.openjdk.org/jdk/pull/27077
More information about the build-dev
mailing list