RFR: 8359788: Internal Error: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded

Igor Veresov iveresov at openjdk.org
Wed Jun 25 01:20:12 UTC 2025


For object arrays we forgot to check if the element type if loaded and always returned `true` from `is_klass_loaded()`.
Testing is a bit noisy but seems to be clean.

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

Commit messages:
 - Check if element type klass is loaded for object arrays

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

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


More information about the hotspot-compiler-dev mailing list