Hi all, Please review this change which adds build-time verification for generated AD files.
The build system currently allows generated .ad files to become out of sync with their corresponding .m4 source files without being detected. This change regenerates the expected AD content during the build and compares it with the checked-in .ad files, reporting an error when differences are detected. Additional testing: - Manually modified an .m4 source without regenerating the corresponding .ad file and verified that the build fails with a mismatch error: https://github.com/chmielewskiandreas/jdk/actions/runs/45191897963/job/137752460509?pr=4#step:9:94 Thanks, Andreas --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8397500: Add AD file verification and regeneration tool - JDK-8397500: Use explicit generation markers Changes: https://git.openjdk.org/jdk/pull/34019/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=34019&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8397500 Stats: 485 lines in 12 files changed: 349 ins; 99 del; 37 mod Patch: https://git.openjdk.org/jdk/pull/34019.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/34019/head:pull/34019 PR: https://git.openjdk.org/jdk/pull/34019
