hg: panama/dev: 8202907: Consolidate the design and implementation of the nicl support.

henry.jen at oracle.com henry.jen at oracle.com
Wed Jun 13 15:38:39 UTC 2018


Changeset: 6327bfec1cc7
Author:    henryjen
Date:      2018-06-13 08:38 -0700
URL:       http://hg.openjdk.java.net/panama/dev/rev/6327bfec1cc7

8202907: Consolidate the design and implementation of the nicl support.
- use java.nicl.types.Array as carrier type for array intead of Java array
- NativeCallback should have function layout, not pointer layout to function.

! src/jdk.jextract/share/classes/com/sun/tools/jextract/AsmCodeFactory.java
! src/jdk.jextract/share/classes/com/sun/tools/jextract/HeaderFile.java
! src/jdk.jextract/share/classes/com/sun/tools/jextract/JType.java
! src/jdk.jextract/share/classes/com/sun/tools/jextract/TypeDictionary.java
+ test/jdk/com/sun/tools/jextract/ArrayTest.java
! test/jdk/com/sun/tools/jextract/JTypeTest.java
! test/jdk/com/sun/tools/jextract/StructTest.java
+ test/jdk/com/sun/tools/jextract/arrayTest.h
! test/jdk/com/sun/tools/jextract/jclang-ffi/src/jdk/internal/clang/Cursor.java
! test/jdk/com/sun/tools/jextract/struct.h



More information about the panama-dev mailing list