[code-reflection] RFR: Support bytecode generation for invocation of varArg method
Paul Sandoz
psandoz at openjdk.org
Thu Nov 7 00:55:01 UTC 2024
On Thu, 7 Nov 2024 00:49:10 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/reflect/code/bytecode/BytecodeGenerator.java line 365:
>>
>>> 363: } else {
>>> 364: processOperands(op.operands());
>>> 365: }
>>
>> There are 19 calls of this helper method and only one is related to InvokeOp operands.
>> I would suggest to apply this logic where InvokeOp bytecode is generated.
>
> Yes, keep it local to the `InvokeOp` case at line 883.
Add a test using double or long.
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/272#discussion_r1831908381
More information about the babylon-dev
mailing list