[code-reflection] RFR: BytecodeGenerator support of lambdas [v6]

Adam Sotona asotona at openjdk.org
Mon Apr 15 16:50:27 UTC 2024


On Mon, 15 Apr 2024 16:24:08 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   applied recommended changes
>
> src/java.base/share/classes/java/lang/reflect/code/bytecode/BytecodeGenerator.java line 86:
> 
>> 84:             "altMetafactory",
>> 85:             MethodTypeDesc.of(CD_CallSite, CD_MethodHandles_Lookup, CD_String, CD_MethodType,
>> 86:                               CD_Object.arrayType()));
> 
> I suppose you could use `ConstantDescs.ofCallsiteBootstrap`, up to you.

Good point, it is a bit simpler, thanks.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/48#discussion_r1566136574


More information about the babylon-dev mailing list