< prev index next >

test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java

Print this page




  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA1Intrinsics option processing on unsupported CPU,
  28  * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary testcases
  29  * @build TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
  30  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  31  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  33  *                   -XX:+WhiteBoxAPI
  34  *                   TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
  35  */
  36 public class TestUseSHA1IntrinsicsOptionOnUnsupportedCPU {
  37     public static void main(String args[]) throws Throwable {
  38         new SHAOptionsBase(
  39                 new GenericTestCaseForUnsupportedSparcCPU(
  40                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  41                 new UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU(
  42                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),


  43                 new GenericTestCaseForUnsupportedX86CPU(
  44                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  45                 new GenericTestCaseForOtherCPU(
  46                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION)).test();
  47     }
  48 }


  23 
  24 /**
  25  * @test
  26  * @bug 8035968
  27  * @summary Verify UseSHA1Intrinsics option processing on unsupported CPU,
  28  * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary testcases
  29  * @build TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
  30  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  31  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
  32  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  33  *                   -XX:+WhiteBoxAPI
  34  *                   TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
  35  */
  36 public class TestUseSHA1IntrinsicsOptionOnUnsupportedCPU {
  37     public static void main(String args[]) throws Throwable {
  38         new SHAOptionsBase(
  39                 new GenericTestCaseForUnsupportedSparcCPU(
  40                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  41                 new UseSHAIntrinsicsSpecificTestCaseForUnsupportedSparcCPU(
  42                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  43                 new GenericTestCaseForUnsupportedAArch64CPU(
  44                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  45                 new GenericTestCaseForUnsupportedX86CPU(
  46                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION),
  47                 new GenericTestCaseForOtherCPU(
  48                         SHAOptionsBase.USE_SHA1_INTRINSICS_OPTION)).test();
  49     }
  50 }
< prev index next >