RFR: 8344942: Template-Based Testing Framework [v71]

Emanuel Peter epeter at openjdk.org
Tue Jun 3 05:55:16 UTC 2025


On Mon, 2 Jun 2025 12:24:32 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> Emanuel Peter has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 91 commits:
>> 
>>  - Merge branch 'master' into JDK-8344942-TemplateFramework-v3
>>  - validation tests
>>  - dollar and hashtag parsing validatiaon
>>  - wip refactor parsing dollar and hashtag
>>  - more fixes from Christian
>>  - more improvements
>>  - more suggestions applied
>>  - good practice
>>  - rename template arguments
>>  - more from Christian
>>  - ... and 81 more: https://git.openjdk.org/jdk/compare/90d6ad01...cb7037e7
>
> test/hotspot/jtreg/compiler/lib/template_framework/library/Hooks.java line 32:
> 
>> 30:  */
>> 31: public abstract class Hooks {
>> 32:     private Hooks() {} // Avoid instantiation and need for documentation.
> 
> With `abstract` you cannot call the constructor. But you could make `Hooks` final instead of abstract and keep the private constructor.

Good idea!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24217#discussion_r2122777154


More information about the hotspot-compiler-dev mailing list