[code-reflection] RFR: Replace use of MethodTypeDesc with FunctionType [v3]

Paul Sandoz psandoz at openjdk.org
Thu Feb 15 23:23:08 UTC 2024


On Wed, 14 Feb 2024 19:59:30 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`.
>
> Paul Sandoz has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update Triton PoC

OK, clearly this is more complex than i anticipated and we will need to revisit the modeling.

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

PR Comment: https://git.openjdk.org/babylon/pull/22#issuecomment-1947498092


More information about the babylon-dev mailing list