[foreign-jextract] RFR 8237577 minimal jextract tool on jextract API

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Jan 21 16:38:47 UTC 2020


On 21/01/2020 16:32, Ty Young wrote:
>
> On 1/21/20 10:11 AM, Maurizio Cimadamore wrote:
>>
>> On 21/01/2020 16:09, Ty Young wrote:
>>>
>>> On 1/21/20 7:07 AM, sundararajan.athijegannathan at oracle.com wrote:
>>>> Please review.
>>>>
>>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8237577
>>>>
>>>> Webrev: 
>>>> http://cr.openjdk.java.net/~sundar/minimal_jextract/webrev.00/index.html 
>>>>
>>>>
>>>> Thanks
>>>>
>>>> -Sundar
>>>>
>>>
>>> Is this the same jextract tool used to generate the clang code then?
>>
>> Yes - a bit more polished version of that.
>
>
> Nice!
>
>
> I assume the command line arguments are the same, correct?

A lot of them have been removed - we'll start simple(r) and see what is 
really required. But usual commands like -L, -I apply. The filtering 
option got simpler and now just accepts a regex - so that only symbols 
defined in an header whose path matches the regex are actually included.

Sundar will soon be adding more tests, so that it will be more clear how 
these options work.

Maurizio

>
>
>>
>> Maurizio
>>
>>>
>>>


More information about the panama-dev mailing list