[code-reflection] RFR: Support bytecode generation for invocation of varArg method

Adam Sotona asotona at openjdk.org
Wed Nov 6 11:24:12 UTC 2024


On Wed, 6 Nov 2024 10:43:58 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

> Support bytecode generation for invocation of varArg method.

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.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/272#discussion_r1830849765


More information about the babylon-dev mailing list