RFR: 7903660: Drop layout-inferring varargs invoker + add method handle factory
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Feb 12 14:22:08 UTC 2024
On Mon, 12 Feb 2024 14:15:46 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> Re. (2) - this is tricky, yes. I think perhaps some mention of that in the javadoc for the invoker factory might be a good thing? (e.g. all integral types are promoted to int/long, all floating point types are promoted to double).
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?)
-------------
PR Comment: https://git.openjdk.org/jextract/pull/205#issuecomment-1938763454
More information about the jextract-dev
mailing list