RFR: 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception"

Christian Hagedorn chagedorn at openjdk.java.net
Mon Oct 11 12:58:21 UTC 2021


The bailout fix added by [JDK-8271471](https://bugs.openjdk.java.net/browse/JDK-8271471) does not correctly work for the internal framework tests. The matching of `` in `Utils.java` was done on the test VM output instead of the the hotspot_pid file. I fixed that by checking the driver VM message sent on a bailout which is easier. I also improved the error reporting of `TestIRMatching` to reduce noise and better format errors.

Thanks,
Christian

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

Commit messages:
 - 8274911: testlibrary_tests/ir_framework/tests/TestIRMatching.java fails with "java.lang.RuntimeException: Should have thrown exception".

Changes: https://git.openjdk.java.net/jdk/pull/5893/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5893&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8274911
  Stats: 128 lines in 4 files changed: 55 ins; 38 del; 35 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5893.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5893/head:pull/5893

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


More information about the hotspot-compiler-dev mailing list