[code-reflection] Integrated: Short cut for single method execution

Paul Sandoz psandoz at openjdk.org
Thu Feb 27 16:43:16 UTC 2025


On Wed, 26 Feb 2025 23:17:23 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> This allows us to retain the exact method declaration and simply wrap in a lambda (its like an optimization). The execute method requires the user pass the lookup, otherwise reflective access can fail. We can overload using the public lookup if need be later on.

This pull request has now been integrated.

Changeset: cd265d27
Author:    Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/cd265d2704e43faae95b70a03d698d4941792ea2
Stats:     209 lines in 2 files changed: 138 ins; 3 del; 68 mod

Short cut for single method execution

Reviewed-by: asotona, mcimadamore

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

PR: https://git.openjdk.org/babylon/pull/329


More information about the babylon-dev mailing list