Namespace for inner classes in jextract

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Mar 11 12:49:01 UTC 2021


On 11/03/2021 12:19, Maurizio Cimadamore wrote:
>
> There's some validation to do when it comes to duplicate names - for 
> instance, struct names can clash with typedef names, etc. which 
> probably suggests that the syntax of the option will have to be more 
> convoluted. 

There's also another issue with  --sym - which is that, as described, I 
think you are assuming this semantics:

* if no --sym is specified on the command line, do whatever jextract 
does today
* if one (or more) --sym is specified, then switch into a mode which 
means "only these please!"

I have a feeling that, maybe, we are trying to conflate too much in a 
single option? That said I see the simplicity appeal.

Maurizio





More information about the panama-dev mailing list