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

Paul Sandoz psandoz at openjdk.org
Mon Apr 15 16:27:00 UTC 2024


On Mon, 15 Apr 2024 09:05:27 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> BytecodeGenerator support of lambdas
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   applied recommended changes

Marked as reviewed by psandoz (Lead).

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.

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

PR Review: https://git.openjdk.org/babylon/pull/48#pullrequestreview-2001574633
PR Review Comment: https://git.openjdk.org/babylon/pull/48#discussion_r1566075848


More information about the babylon-dev mailing list