RFR: 8354558: -XX:AOTMode=record crashes with boot loader package-info class [v2]

Ioi Lam iklam at openjdk.org
Fri Apr 18 03:55:46 UTC 2025


> When a package is loaded from `-Xbootclasspath/a:`, its `package-info` class is loaded by a special loader of the type `jdk/internal/loader/ClassLoaders$BootClassLoader`. The AOT cache doesn't handle such loaders, so we should just drop such classes from the cache.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  @calvinccheung comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24710/files
  - new: https://git.openjdk.org/jdk/pull/24710/files/5d042462..e76f4b55

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24710&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24710&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/24710.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24710/head:pull/24710

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


More information about the hotspot-dev mailing list