[code-reflection] Integrated: Replace use of MethodTypeDesc with FunctionType
Paul Sandoz
psandoz at openjdk.org
Wed Feb 14 20:40:03 UTC 2024
On Wed, 14 Feb 2024 01:15:53 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
> Replace use of `MethodTypeDesc` with `FunctionType` in the core API.
>
> This pushes `MethodTypeDesc` more towards the reflective operation usages. There are convenience methods added to `MethodTypeDesc` for conversion/resolution between `FunctionType`. However, it may that the right approach here is convenience methods for conversion/resolution between `java.lang.invoke.MethodType` (or sequences of `Class<?>`) and `FunctionType`, which means we can likely remove `MethodTypeDesc`.
This pull request has now been integrated.
Changeset: 75cc28c1
Author: Paul Sandoz <psandoz at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/75cc28c1c059c9836f42f42f645976250fc2516e
Stats: 433 lines in 32 files changed: 63 ins; 58 del; 312 mod
Replace use of MethodTypeDesc with FunctionType
-------------
PR: https://git.openjdk.org/babylon/pull/22
More information about the babylon-dev
mailing list