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

Paul Sandoz psandoz at openjdk.org
Thu Feb 27 02:32:47 UTC 2025


> 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.

Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:

  Ensure arguments are mapped correctly.

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/329/files
  - new: https://git.openjdk.org/babylon/pull/329/files/0780287e..f0f41e70

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=329&range=01
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=329&range=00-01

  Stats: 20 lines in 1 file changed: 13 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/babylon/pull/329.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/329/head:pull/329

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


More information about the babylon-dev mailing list