[foreign-jextract] [Rev 01] RFR: 8240181: jextract does not generate constants for anonymous enum fields

Athijegannathan Sundararajan sundar at openjdk.java.net
Thu Feb 27 17:55:18 UTC 2020


On Thu, 27 Feb 2020 17:35:48 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

>> test/jdk/tools/jextract/JextractToolProviderTest.java line 43:
>> 
>>> 42:  */
>>> 43: public class JextractToolProviderTest extends JextractToolRunner {
>>> 44:     @Test
>> 
>> One comment on testing - note that we also have a separate framework to just test the API (w/o jextract). After all, this is not, strictly speaking a jextract bug, but a bug in the declaration API parsing, so perhaps a more direct test would be preferrable?
>
> Agree. This test is ported from older jextract tests (doesn't mean that we've to use the same  test holder class). I'll fix this.

On extract API testing. I'll address that under another bug.

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/35


More information about the panama-dev mailing list