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

Emanuel Peter epeter at openjdk.org
Fri May 16 06:28:15 UTC 2025


On Thu, 15 May 2025 08:35:01 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

>> @robcasloz They do pretty much the same though, they allow you to set a hashtag replacement. It is just a question of where you can place it, and if it captures the value in a Java variable as well.
>> 
>> What do you mean to suggest with the name `setIn`?
>
> Note that I suggest the name `letIn`, not `setIn`. My intuition is that the variant with a third argument binds `key` to `value` **in** the scope of a `function` that is given explicitly, hence the suggestion to call it `letIn` instead of just `let`. But it's just a suggestion, feel free to disregard if you don't think it fits.

I see. Thanks for the suggestion. I think I will keep it as is :)

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

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


More information about the hotspot-compiler-dev mailing list