21 * questions. 22 */ 23 24 /** 25 * @test 26 * @bug 8035968 27 * @summary Verify UseSHA option processing on supported CPU, 28 * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary testcases 29 * @build TestUseSHAOptionOnSupportedCPU 30 * @run main ClassFileInstaller sun.hotspot.WhiteBox 31 * sun.hotspot.WhiteBox$WhiteBoxPermission 32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 33 * -XX:+WhiteBoxAPI TestUseSHAOptionOnSupportedCPU 34 */ 35 public class TestUseSHAOptionOnSupportedCPU { 36 public static void main(String args[]) throws Throwable { 37 new SHAOptionsBase( 38 new GenericTestCaseForSupportedSparcCPU( 39 SHAOptionsBase.USE_SHA_OPTION), 40 new UseSHASpecificTestCaseForSupportedSparcCPU( 41 SHAOptionsBase.USE_SHA_OPTION)).test(); 42 } 43 } | 21 * questions. 22 */ 23 24 /** 25 * @test 26 * @bug 8035968 27 * @summary Verify UseSHA option processing on supported CPU, 28 * @library /testlibrary /testlibrary/whitebox /compiler/testlibrary testcases 29 * @build TestUseSHAOptionOnSupportedCPU 30 * @run main ClassFileInstaller sun.hotspot.WhiteBox 31 * sun.hotspot.WhiteBox$WhiteBoxPermission 32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions 33 * -XX:+WhiteBoxAPI TestUseSHAOptionOnSupportedCPU 34 */ 35 public class TestUseSHAOptionOnSupportedCPU { 36 public static void main(String args[]) throws Throwable { 37 new SHAOptionsBase( 38 new GenericTestCaseForSupportedSparcCPU( 39 SHAOptionsBase.USE_SHA_OPTION), 40 new UseSHASpecificTestCaseForSupportedSparcCPU( 41 SHAOptionsBase.USE_SHA_OPTION), 42 new GenericTestCaseForSupportedAArch64CPU( 43 SHAOptionsBase.USE_SHA_OPTION)).test(); 44 } 45 } |