RFR: 7903660: Drop layout-inferring varargs invoker + add method handle factory
Jorn Vernee
jvernee at openjdk.org
Mon Feb 12 14:22:08 UTC 2024
On Mon, 12 Feb 2024 14:17:06 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> In fact, if you look at my suggestion to have instance accessor and a record class for the invoker entity, we only need to add checks in the invoker factory (which doesn't seem overly bad?)
We don't have to add any checks in that case. When linking the method handle, the linker will do checks for us.
Note though that we don't automatically promote types, but reject any illegal ones.
-------------
PR Comment: https://git.openjdk.org/jextract/pull/205#issuecomment-1938767399
More information about the jextract-dev
mailing list