[Integrated] [foreign-jextract] RFR: 8240657: when Java keywords are used as identifiers in C header, jextract generates non-compilable java code

Athijegannathan Sundararajan sundar at openjdk.java.net
Fri Mar 6 12:38:02 UTC 2020


Changeset: f8a769b8
Author:    Athijegannathan Sundararajan <sundar at openjdk.org>
Date:      2020-03-06 12:36:00 +0000
URL:       https://git.openjdk.java.net/panama-foreign/commit/f8a769b8

8240657: when Java keywords are used as identifiers in C header, jextract generates non-compilable java code

Reviewed-by: jvernee

! src/jdk.incubator.jextract/share/classes/jdk/incubator/jextract/tool/JavaSourceBuilder.java
+ test/jdk/tools/jextract/Test8240657.java
+ test/jdk/tools/jextract/exports.h


More information about the panama-dev mailing list