[code-reflection] RFR: Replace use of MethodTypeDesc with FunctionType [v2]
Paul Sandoz
psandoz at openjdk.org
Wed Feb 14 16:50:20 UTC 2024
> 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`.
Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
funcCall factory should accept FunctionType.
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/22/files
- new: https://git.openjdk.org/babylon/pull/22/files/85bb3455..fa2018bb
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=22&range=01
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=22&range=00-01
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/babylon/pull/22.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/22/head:pull/22
PR: https://git.openjdk.org/babylon/pull/22
More information about the babylon-dev
mailing list