RFR: 8310831: Some methods are missing from CDS regenerated JLI holder class

Calvin Cheung ccheung at openjdk.org
Fri Jun 27 04:49:49 UTC 2025


Per the [suggested fix](https://bugs.openjdk.org/browse/JDK-8310831?focusedId=14788065&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14788065), this patch doesn't issue a warning if the missing method is the constructor of a holder class.

Sanity tier1 tested.

Manually tested by building the `images` with the `-Xlog:cds=off` removed from the `GenerateLinkOptData.gmk` and with build logging enabled (`LOG=info`).

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

Commit messages:
 - revert unneeded include
 - 8310831: Some methods are missing from CDS regenerated JLI holder class

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

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


More information about the hotspot-runtime-dev mailing list