RFR: 7903585: Revisit variadic support [v2]
Jorn Vernee
jvernee at openjdk.org
Fri Dec 1 14:34:04 UTC 2023
On Fri, 1 Dec 2023 14:22:18 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> Yes, but if a client wants to stash an invoker with given shape in a static final field, then being able to trust that MH would be important I think.
>
> Field of lambda classes are trusted right, since it's a hidden class? So the captured MH will be a trusted instance field?
FWIW, I had a record in an earlier iteration, but realized it wasn't needed, and using a lambda expression makes the generated code a bit more concise.
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/149#discussion_r1412170319
More information about the jextract-dev
mailing list