< prev index next >

test/jdk/java/foreign/callarranger/TestLayoutEquality.java

Print this page

 7  * published by the Free Software Foundation.
 8  *
 9  * This code is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * version 2 for more details (a copy is included in the LICENSE file that
13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  *
23  */
24 
25 /*
26  * @test
27  * @enablePreview
28  * @compile platform/PlatformLayouts.java
29  * @modules java.base/jdk.internal.foreign.abi
30  * @modules java.base/jdk.internal.foreign.layout
31  * @run testng TestLayoutEquality
32  */
33 
34 import java.lang.foreign.AddressLayout;
35 import java.lang.foreign.ValueLayout;
36 
37 import jdk.internal.foreign.layout.ValueLayouts;
38 import platform.PlatformLayouts;
39 import org.testng.annotations.DataProvider;
40 import org.testng.annotations.Test;
41 
42 import java.lang.reflect.Field;
43 import java.util.ArrayList;
44 import java.util.List;
45 
46 import static org.testng.Assert.*;
47 

 7  * published by the Free Software Foundation.
 8  *
 9  * This code is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * version 2 for more details (a copy is included in the LICENSE file that
13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  *
23  */
24 
25 /*
26  * @test

27  * @compile platform/PlatformLayouts.java
28  * @modules java.base/jdk.internal.foreign.abi
29  * @modules java.base/jdk.internal.foreign.layout
30  * @run testng TestLayoutEquality
31  */
32 
33 import java.lang.foreign.AddressLayout;
34 import java.lang.foreign.ValueLayout;
35 
36 import jdk.internal.foreign.layout.ValueLayouts;
37 import platform.PlatformLayouts;
38 import org.testng.annotations.DataProvider;
39 import org.testng.annotations.Test;
40 
41 import java.lang.reflect.Field;
42 import java.util.ArrayList;
43 import java.util.List;
44 
45 import static org.testng.Assert.*;
46 
< prev index next >