RFR: 8273410: IR verification framework fails with "Should find method name in validIrRulesMap"

Christian Hagedorn chagedorn at openjdk.java.net
Fri Sep 24 10:46:18 UTC 2021


The IR framework treated a `@Check` method as `@Test` method instead of the `@Test` method itself at IR matching time resulting in an internal framework exception.

While writing some tests for checked test I've noticed that a missing `@Arguments` annotation is not reported as `TestFormatException` but with a `RuntimeException` later when invoking the method in question. I also added the missing check for it.

Thanks,
Christian

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

Commit messages:
 - 8273410: IR verification framework fails with "Should find method name in validIrRulesMap"

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

PR: https://git.openjdk.java.net/jdk/pull/5678


More information about the hotspot-compiler-dev mailing list