[code-reflection] RFR: Lazily invoke lambda op building method [v2]

Mourad Abbay mabbay at openjdk.org
Fri Dec 19 22:18:51 UTC 2025


On Fri, 19 Dec 2025 20:51:12 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Mourad Abbay has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - Use local variables to reduce number of time we load fields
>>  - Use CodeBuilder.IfThen
>>  - document the equivalent java code for helpers methods
>
> test/jdk/java/lang/reflect/code/TestQuotedUnique.java line 17:
> 
>> 15:  * @run junit TestQuotedUnique
>> 16:  */
>> 17: public class TestQuotedUnique {
> 
> Can we merge with `TestLambdaModelUnique` that is renamed? as it is not clear it is doing anything different.

In TestLambdaModelUnique we are concerned with model, in TestQuotedUnique we focus on the Quoted instance. We can merge.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/769#discussion_r2636450791


More information about the babylon-dev mailing list