On Fri, 18 Oct 2024 23:13:27 GMT, Shaojin Wen <s...@openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java 
>> line 141:
>> 
>>> 139:             case "MH"  -> CD_MH;
>>> 140:             case "DMH" -> CD_DMH;
>>> 141:             case "BMH" -> CD_BMH;
>> 
>> I don't see where DMH and BMH are passed; only see NFI and LFI.
>
> This DMH is derived from invokerName, which comes from 
> java.lang.invoke.LambdaForm.Kind#defaultLambdaName

`"NFI"` and `"LFI"` should probably also be added to this `switch`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21580#discussion_r1807207043

Reply via email to