RFR: 8355236: AOT Assembly crash with unregistered class and -Xlog:cds+resolve=trace

Ioi Lam iklam at openjdk.org
Thu May 22 05:35:38 UTC 2025


Please review this small bug fix. When running  `java -XX:AOTMode=create -Xlog:cds+resolve=trace ...`, we are not handling unregistered classes classes in the `get_type()`, which is called only when printing log messages.

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

Commit messages:
 - @shipilev comments
 - Merge branch 'master' into 8355236-aot-assembly-phase-crashes-with-unreg-class
 - Fixed whitespaces
 - 8355236: AOT Assembly crash with unregistered class and -Xlog:cds+resolve=trace

Changes: https://git.openjdk.org/jdk/pull/25171/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25171&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8355236
  Stats: 294 lines in 3 files changed: 286 ins; 1 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/25171.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25171/head:pull/25171

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


More information about the hotspot-dev mailing list