[foreign-jextract] [Rev 01] RFR: 8241504: Expose MemoryLayout annotations/attributes in the public API (foreign-jextract part)
Henry Jen
henryjen at openjdk.java.net
Thu Mar 26 16:42:39 UTC 2020
On Thu, 26 Mar 2020 16:27:49 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> No, I don't think so. The intent is to have a hard failure if the ABI type is missing. The old code was failing more
>> silently by returning `false`.
>
> Similar motivation here: https://github.com/openjdk/panama-foreign/pull/64#discussion_r398488164
OK, I didn't look at use cases for this method, just thinking of compatibility of existing code. If the cases are
expecting native ABI type to be available all the time, then yes, I agree.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/69
More information about the panama-dev
mailing list