[foreign] RFR: 8225630: Tolerate unsupported type
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Jun 18 11:05:00 UTC 2019
Hi,
can you explain why we need a new carrier for the unknown type? The new
carrier layout is never generated by jextract - is that just to be able
to generate 'some' carrier type?
Can we just use Object for that? Or Void?
Maurizio
On 12/06/2019 20:07, Henry Jen wrote:
> Hi,
>
> Another short webrev[1] to make allow jextract go through when encounter unsupported types.
>
> Basically for all unsupported type, we are going to generate a unresolved layout and use the UnknownType as carrier type. Reference UnknownType should cause failure at runtime, while the UnknownType class itself is an indication this function/setter/getter should not be used.
>
> Cheers,
> Henry
>
> [1] http://cr.openjdk.java.net/~henryjen/panama/8225630/0/webrev/
More information about the panama-dev
mailing list