[code-reflection] Integrated: Remove MethodTypeDesc

Paul Sandoz psandoz at openjdk.org
Fri Mar 1 16:54:57 UTC 2024


On Thu, 29 Feb 2024 23:03:16 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Remove `MethodTypeDesc` and replace with usages of `FunctionType`, with functionality to convert between nominal description `java.lang.constant.MethodTypeDesc` (from which it can be resolved to `java.lang.invoke.MethodType`).
> 
> The `new` operation now accepts a `FunctionType` as an attribute value, which is serialized as a type in the textual form rather than the prior more bespoke form.
> 
> The serialization of `MethodDesc` does not currently change, we will likely revisit when the `invoke` operation to include information related to the kind of invocation (beyond static and virtual).

This pull request has now been integrated.

Changeset: 03f40c2a
Author:    Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/03f40c2a1dd46e6f2fffdc2e5edafbac200d8fbf
Stats:     479 lines in 33 files changed: 51 ins; 279 del; 149 mod

Remove MethodTypeDesc

Reviewed-by: mcimadamore

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

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


More information about the babylon-dev mailing list