< prev index next >

test/hotspot/jtreg/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java

Print this page
rev 59103 : imported patch hotspot


  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA option processing on unsupported CPU.
  28  * @library /test/lib testcases /
  29  * @modules java.base/jdk.internal.misc
  30  *          java.management
  31  * @build sun.hotspot.WhiteBox
  32  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  33  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  34  *                   -XX:+WhiteBoxAPI
  35  *                   compiler.intrinsics.sha.cli.TestUseSHAOptionOnUnsupportedCPU
  36  */
  37 
  38 package compiler.intrinsics.sha.cli;
  39 
  40 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForOtherCPU;
  41 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedAArch64CPU;
  42 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedSparcCPU;
  43 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedX86CPU;
  44 import compiler.intrinsics.sha.cli.testcases.UseSHASpecificTestCaseForUnsupportedCPU;
  45 
  46 public class TestUseSHAOptionOnUnsupportedCPU {
  47     public static void main(String args[]) throws Throwable {
  48         new SHAOptionsBase(
  49                 new GenericTestCaseForUnsupportedSparcCPU(
  50                         SHAOptionsBase.USE_SHA_OPTION),
  51                 new GenericTestCaseForUnsupportedX86CPU(
  52                         SHAOptionsBase.USE_SHA_OPTION),
  53                 new GenericTestCaseForUnsupportedAArch64CPU(
  54                         SHAOptionsBase.USE_SHA_OPTION),
  55                 new UseSHASpecificTestCaseForUnsupportedCPU(
  56                         SHAOptionsBase.USE_SHA_OPTION),
  57                 new GenericTestCaseForOtherCPU(
  58                         SHAOptionsBase.USE_SHA_OPTION)).test();
  59     }
  60 }


  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA option processing on unsupported CPU.
  28  * @library /test/lib testcases /
  29  * @modules java.base/jdk.internal.misc
  30  *          java.management
  31  * @build sun.hotspot.WhiteBox
  32  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  33  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  34  *                   -XX:+WhiteBoxAPI
  35  *                   compiler.intrinsics.sha.cli.TestUseSHAOptionOnUnsupportedCPU
  36  */
  37 
  38 package compiler.intrinsics.sha.cli;
  39 
  40 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForOtherCPU;
  41 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedAArch64CPU;

  42 import compiler.intrinsics.sha.cli.testcases.GenericTestCaseForUnsupportedX86CPU;
  43 import compiler.intrinsics.sha.cli.testcases.UseSHASpecificTestCaseForUnsupportedCPU;
  44 
  45 public class TestUseSHAOptionOnUnsupportedCPU {
  46     public static void main(String args[]) throws Throwable {
  47         new SHAOptionsBase(


  48                 new GenericTestCaseForUnsupportedX86CPU(
  49                         SHAOptionsBase.USE_SHA_OPTION),
  50                 new GenericTestCaseForUnsupportedAArch64CPU(
  51                         SHAOptionsBase.USE_SHA_OPTION),
  52                 new UseSHASpecificTestCaseForUnsupportedCPU(
  53                         SHAOptionsBase.USE_SHA_OPTION),
  54                 new GenericTestCaseForOtherCPU(
  55                         SHAOptionsBase.USE_SHA_OPTION)).test();
  56     }
  57 }
< prev index next >