How to jextract

Mitsuru Matsushima m-matsushima at bk.jp.nec.com
Fri Dec 7 04:06:47 UTC 2018


Thank you for your response.
I hope this bug will be fixed :)

Mitsuru

> -----Original Message-----
> From: Maurizio Cimadamore <maurizio.cimadamore at oracle.com>
> Sent: Friday, December 07, 2018 2:31 AM
> To: Matsushima Mitsuru(松島 充) <m-matsushima at bk.jp.nec.com>; 'panama-dev at openjdk.java.net'
> <panama-dev at openjdk.java.net>
> Subject: Re: How to jextract
> 
> Looking closer at the code, the issue with -m not generating anything is caused by the fact that the various
> Context::collectXYZ methods are filtering away all packages that are not the 'target' one (the one set by -t). This is  buggy
> behavior - we should just generate all packages we have got up to that point; there's no reason to do the filtering.
> 
> Maurizio
> 
> On 06/12/2018 11:21, Maurizio Cimadamore wrote:
> > I can see that this is indeed an issue - jextract doesn't seem to
> > follow the include <kernel.h>...
> >
> > https://bugs.openjdk.java.net/browse/JDK-8214948
> >
> > Thanks for the report. Your workaround seems ok, but really, this
> > should just work.
> >
> > Maurizio
> >
> >
> > On 06/12/2018 10:25, Mitsuru Matsushima wrote:
> >>   jdk-12/bin/jextract /usr/include/x86_64-linux-gnu/sys/sysinfo.h



More information about the panama-dev mailing list