[foreign] RFR 8215570: jextract should warn when no output is emitted

Henry Jen henry.jen at oracle.com
Wed Dec 19 16:14:15 UTC 2018


+1.

Cheers,
Henry


> On Dec 18, 2018, at 10:57 AM, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> 
> Hi,
> as a result of the recentr refactoring, it is now possible that jextract will detect that no declarations will be added to the jextract output. In the past we used to generate an empty header, but, because of how the new pipeline works, we actually end up with nothing now.
> 
> I think the new behavior is acceptable but there are two issues with it:
> 
> 1) no warning is emitted
> 2) jextract will still put jextract.properties in the output jar/folder
> 
> This patch fix both problems:
> 
> http://cr.openjdk.java.net/~mcimadamore/panama/8215570_v2/
> 
> Maurizio
> 
> 



More information about the panama-dev mailing list