< prev index next >

test/jdk/java/foreign/callarranger/TestRISCV64CallArranger.java

Print this page

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

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

 29  * @requires sun.arch.data.model == "64"
 30  * @compile platform/PlatformLayouts.java
 31  * @modules java.base/jdk.internal.foreign
 32  *          java.base/jdk.internal.foreign.abi
 33  *          java.base/jdk.internal.foreign.abi.riscv64
 34  *          java.base/jdk.internal.foreign.abi.riscv64.linux
 35  * @build CallArrangerTestBase
 36  * @run testng TestRISCV64CallArranger
 37  */
 38 
 39 import java.lang.foreign.FunctionDescriptor;
 40 import java.lang.foreign.MemoryLayout;
 41 import java.lang.foreign.MemorySegment;
 42 import jdk.internal.foreign.abi.Binding;
 43 import jdk.internal.foreign.abi.CallingSequence;
 44 import jdk.internal.foreign.abi.LinkerOptions;
 45 import jdk.internal.foreign.abi.riscv64.linux.LinuxRISCV64CallArranger;
 46 import jdk.internal.foreign.abi.StubLocations;
 47 import jdk.internal.foreign.abi.VMStorage;
 48 import org.testng.annotations.DataProvider;
< prev index next >