[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:09:17 UTC 2020


On Thu, 26 Mar 2020 15:55:50 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> Hi,
>> 
>> These are the jextract changes needed after exposing layout attributes in the public API. This also fixes the pending
>> merge conflict, which was closely related to the needed changes.
>> Jorn
>
> Jorn Vernee has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev
> excludes the unrelated changes brought in by the merge/rebase.

test/jdk/java/foreign/NativeTestHelper.java line 41:

> 40:     public static boolean isIntegral(MemoryLayout layout) {
> 41:         return switch(SystemABI.Type.fromLayout(layout)) {
> 42:             case BOOL, UNSIGNED_CHAR, SIGNED_CHAR, CHAR, SHORT, UNSIGNED_SHORT,

Need to catch the exception?

-------------

PR: https://git.openjdk.java.net/panama-foreign/pull/69


More information about the panama-dev mailing list