RFR: 8358600: Template-Framework Library: Template for TestFramework test class

Emanuel Peter epeter at openjdk.org
Wed Jun 4 16:02:12 UTC 2025


We might want to write many IR/TestFramework tests, and so I would like to integrate a Template that generates the class, and the user has to only generate a list of tests.

This is a first extension for https://github.com/openjdk/jdk/pull/24217. I had already prototyped it earlier and plan to use it in multiple tests https://github.com/openjdk/jdk/pull/23418 (see `IRTestClass.java`).

https://github.com/openjdk/jdk/blob/11d55dc7ff2b2137700248e11492e11d2d748cab/test/hotspot/jtreg/compiler/lib/template_framework/library/TestFrameworkClass.java#L36-L44

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

Commit messages:
 - JDK-8358600

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

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


More information about the hotspot-compiler-dev mailing list