RFR: 8304931: vm/concepts/methods/methods001/methods00101m1/methods00101m1 failures with already pending exception

Matias Saavedra Silva matsaave at openjdk.org
Mon Mar 27 21:23:12 UTC 2023


The change in [JDK-8304069](https://bugs.openjdk.org/browse/JDK-8304069) resulted in an assertion failure in the case of multiple duplicate fields, methods, or interfaces. This would create unwanted pending exceptions leading to a failure later.

The method will now return following a class file parse error to avoid adding more pending errors. Verified with tiers 1-6.

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

Commit messages:
 - 8304931: vm/concepts/methods/methods001/methods00101m1/methods00101m1 failures with already pending exception

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

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


More information about the hotspot-runtime-dev mailing list