[foreign RFR 8211713: jdk.jextract should avoid using java.base internal packages
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Oct 4 12:36:01 UTC 2018
I think that as a temporary measure, what you did is ok.
(btw, I believe that Types shouldn't even be in the binder, and that the
binder should only rely on NativeTypes)
That said, I think that moving forward it'd be nice if instead of using
predefined layouts we relied on clang to tell us the size of the type
(even if it's a primitive) and build a layout from there (and then pick
a suitable carrier depending on that size). In other words, I see the
current code as a temporary measure until we get more portability, so
I'm ok with it (for now).
Maurizio
On 04/10/18 12:31, Sundararajan Athijegannathan wrote:
> Please review.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8211713
> Webrev: http://cr.openjdk.java.net/~sundar/8211713/webrev.00/
>
> Thanks,
> -Sundar
More information about the panama-dev
mailing list