[code-reflection] RFR: Simplify Interpreter invocation

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Nov 5 16:22:44 UTC 2024


On Thu, 31 Oct 2024 23:54:16 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> The overloaded `Interpreter.invoke` methods are reduced to just two methods. If the invokeable operation captures values then corresponding captured arguments must be appended, in order, to the list of arguments for invocation (those correspond to the invokeable operation's parameter, in order).

Requiring regular params followed by captured params seems like a good simplifying move. Thanks.

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

Marked as reviewed by mcimadamore (Reviewer).

PR Review: https://git.openjdk.org/babylon/pull/271#pullrequestreview-2416112442


More information about the babylon-dev mailing list