23 */
24 // this file is auto-generated by ./CDSMHTest_generate.sh. Do not edit manually.
25
26 /*
27 * @test
28 * @summary Run the MethodHandlesPermuteArgumentsTest.java test in dynamic CDS archive mode.
29 * @requires vm.cds & vm.compMode != "Xcomp"
30 * @comment Some of the tests run excessively slowly with -Xcomp. The original
31 * tests aren't executed with -Xcomp in the CI pipeline, so let's exclude
32 * the generated tests from -Xcomp execution as well.
33 * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
34 * /test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive
35 * /test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/test-classes
36 * @compile ../../../../../../../jdk/java/lang/invoke/MethodHandlesTest.java
37 * ../../../../../../../lib/jdk/test/lib/Utils.java
38 * ../../../../../../../jdk/java/lang/invoke/MethodHandlesPermuteArgumentsTest.java
39 * ../../../../../../../jdk/java/lang/invoke/remote/RemoteExample.java
40 * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java
41 * ../test-classes/TestMHApp.java
42 * @build sun.hotspot.WhiteBox
43 * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
44 * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesPermuteArgumentsTest
45 */
46
47 import org.junit.Test;
48
49 import java.io.File;
50
51 import jtreg.SkippedException;
52
53 import sun.hotspot.gc.GC;
54
55 public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase {
56 @Test
57 public void test() throws Exception {
58 runTest(MethodHandlesPermuteArgumentsTest::testImpl);
59 }
60
61 private static final String classDir = System.getProperty("test.classes");
62 private static final String mainClass = "TestMHApp";
63 private static final String javaClassPath = System.getProperty("java.class.path");
|
23 */
24 // this file is auto-generated by ./CDSMHTest_generate.sh. Do not edit manually.
25
26 /*
27 * @test
28 * @summary Run the MethodHandlesPermuteArgumentsTest.java test in dynamic CDS archive mode.
29 * @requires vm.cds & vm.compMode != "Xcomp"
30 * @comment Some of the tests run excessively slowly with -Xcomp. The original
31 * tests aren't executed with -Xcomp in the CI pipeline, so let's exclude
32 * the generated tests from -Xcomp execution as well.
33 * @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
34 * /test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive
35 * /test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/test-classes
36 * @compile ../../../../../../../jdk/java/lang/invoke/MethodHandlesTest.java
37 * ../../../../../../../lib/jdk/test/lib/Utils.java
38 * ../../../../../../../jdk/java/lang/invoke/MethodHandlesPermuteArgumentsTest.java
39 * ../../../../../../../jdk/java/lang/invoke/remote/RemoteExample.java
40 * ../../../../../../../jdk/java/lang/invoke/common/test/java/lang/invoke/lib/CodeCacheOverflowProcessor.java
41 * ../test-classes/TestMHApp.java
42 * @build sun.hotspot.WhiteBox
43 * @run driver ClassFileInstaller sun.hotspot.WhiteBox
44 * @run junit/othervm/timeout=240 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. MethodHandlesPermuteArgumentsTest
45 */
46
47 import org.junit.Test;
48
49 import java.io.File;
50
51 import jtreg.SkippedException;
52
53 import sun.hotspot.gc.GC;
54
55 public class MethodHandlesPermuteArgumentsTest extends DynamicArchiveTestBase {
56 @Test
57 public void test() throws Exception {
58 runTest(MethodHandlesPermuteArgumentsTest::testImpl);
59 }
60
61 private static final String classDir = System.getProperty("test.classes");
62 private static final String mainClass = "TestMHApp";
63 private static final String javaClassPath = System.getProperty("java.class.path");
|