[Integrated] [foreign-jextract] RFR: 8240811: jextract generates non-compilable code for name collision between a struct and a global variable

Athijegannathan Sundararajan sundar at openjdk.java.net
Wed Mar 11 16:20:26 UTC 2020


Changeset: 2d69080a
Author:    Athijegannathan Sundararajan <sundar at openjdk.org>
Date:      2020-03-11 14:34:25 +0000
URL:       https://git.openjdk.java.net/panama-foreign/commit/2d69080a

8240811: jextract generates non-compilable code for name collision between a struct and a global variable

Reviewed-by: mcimadamore

! src/jdk.incubator.jextract/share/classes/jdk/incubator/jextract/tool/HandleSourceFactory.java
! src/jdk.incubator.jextract/share/classes/jdk/incubator/jextract/tool/JavaSourceBuilder.java
! src/jdk.incubator.jextract/share/classes/jdk/incubator/jextract/tool/StaticWrapperSourceFactory.java
+ test/jdk/tools/jextract/Test8240811.java
+ test/jdk/tools/jextract/name_collision.h


More information about the panama-dev mailing list