RFR: 8356229: cmp-baseline build fail due to lib/modules difference

Calvin Cheung ccheung at openjdk.org
Fri May 9 17:28:01 UTC 2025


The fix for [JDK-8327495](https://bugs.openjdk.org/browse/JDK-8327495) logs more CDS error by default. The error gets printed into the `support/link_opt/default_jli_trace.txt` file which interferes with the cmp-baseline build.
A fix is to specify the `-Xlog:cds=off` to suppress the error message during the building of the $(CLASSLIST_FILE) target.

Tested by running the cmp-baseline builds on various platforms.

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

Commit messages:
 - 8356229: cmp-baseline build fail due to lib/modules difference

Changes: https://git.openjdk.org/jdk/pull/25154/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25154&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8356229
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25154.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25154/head:pull/25154

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


More information about the build-dev mailing list