RFR: 8366498: Simplify ClassFileParser::parse_super_class [v4]

Ioi Lam iklam at openjdk.org
Thu Sep 4 06:07:29 UTC 2025


> The if `cp->resolved_klass_at()` is never true called because we are very early in class file parsing, so no klass CP entries have been resolved at this point.

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:

 - Merge branch 'master' into 8366498-wrong-instance-klass-cast-in-parse-super-class
 - @coleenp review - updated asserts
 - removed test-only assert
 - Simplify parse_super_klass() -> check_super_class()
 - 8366498: Wrong InstanceKlass::cast() in ClassFileParser::parse_super_class

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27026/files
  - new: https://git.openjdk.org/jdk/pull/27026/files/256716fc..4422804e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27026&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27026&range=02-03

  Stats: 7048 lines in 670 files changed: 3953 ins; 1285 del; 1810 mod
  Patch: https://git.openjdk.org/jdk/pull/27026.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27026/head:pull/27026

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


More information about the hotspot-runtime-dev mailing list