[foreign-jextract] RFR: 8240181: jextract does not generate constants for anonymous enum fields
Athijegannathan Sundararajan
sundar at openjdk.java.net
Thu Feb 27 17:38:12 UTC 2020
On Thu, 27 Feb 2020 17:29:40 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> anonymous enums were filtered by TreeMaker.
>
> 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.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/35
More information about the panama-dev
mailing list