jextract generates downcallHandles where I need upcallStubs

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Dec 16 15:28:35 UTC 2020


Hi Sebastian,
this has been fixed few hours ago. If you are building the panama repo 
from scratch, it should now contain the fix.

Cheers
Maurizio

On 15/12/2020 13:02, Sebastian Stenzel wrote:
> Great to hear this is merely a bug. Thanks for digging into this despite my inaccurate wording.
>
>
>> On 15. Dec 2020, at 13:54, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
>>
>>
>> On 15/12/2020 12:45, Maurizio Cimadamore wrote:
>>> This is, I think, the bit of ingredient that's missing - and I think it's a plain bug: while jextract looks at regular function to see if their signature mentions a function pointer, the same is not done for struct fields.
>> Filed this:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8258405
>>
>> Thanks again
>> Maurizio
>>


More information about the panama-dev mailing list