< prev index next >

test/compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java

Print this page
rev 9959 : 8148012: get rid of slash-dot-dot in @library directives
Reviewed-by:
rev 9660 : 8079667: port vm/compiler/AESIntrinsics/CheckIntrinsics into jtreg
Reviewed-by: kvn
Contributed-by: alexander.vorobyev@oracle.com


  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 import jdk.test.lib.cli.predicate.NotPredicate;
  26 import jdk.test.lib.OutputAnalyzer;
  27 import jdk.test.lib.ProcessTools;
  28 
  29 /*
  30  * @test
  31  * @library /testlibrary /../../test/lib /compiler/whitebox
  32  *          /compiler/testlibrary /compiler/codegen/7184394
  33  * @modules java.base/sun.misc
  34  *          java.management
  35  * @build TestAESIntrinsicsOnUnsupportedConfig TestAESMain
  36  * @run main ClassFileInstaller
  37  * sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
  38  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  39  *       -XX:+WhiteBoxAPI -Xbatch  TestAESIntrinsicsOnUnsupportedConfig
  40  */
  41 public class TestAESIntrinsicsOnUnsupportedConfig extends AESIntrinsicsBase {
  42 
  43     private static final String INTRINSICS_NOT_AVAILABLE_MSG = "warning: AES "
  44             + "intrinsics are not available on this CPU";
  45     private static final String AES_NOT_AVAILABLE_MSG = "warning: AES "
  46             + "instructions are not available on this CPU";
  47 
  48     /**
  49      * Constructs new TestAESIntrinsicsOnUnsupportedConfig that will be
  50      * executed only if AESSupportPredicate returns false
  51      */




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 import jdk.test.lib.cli.predicate.NotPredicate;
  26 import jdk.test.lib.OutputAnalyzer;
  27 import jdk.test.lib.ProcessTools;
  28 
  29 /*
  30  * @test
  31  * @library /testlibrary /test/lib /compiler/whitebox
  32  *          /compiler/testlibrary /compiler/codegen/7184394
  33  * @modules java.base/sun.misc
  34  *          java.management
  35  * @build TestAESIntrinsicsOnUnsupportedConfig TestAESMain
  36  * @run main ClassFileInstaller
  37  * sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
  38  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  39  *       -XX:+WhiteBoxAPI -Xbatch  TestAESIntrinsicsOnUnsupportedConfig
  40  */
  41 public class TestAESIntrinsicsOnUnsupportedConfig extends AESIntrinsicsBase {
  42 
  43     private static final String INTRINSICS_NOT_AVAILABLE_MSG = "warning: AES "
  44             + "intrinsics are not available on this CPU";
  45     private static final String AES_NOT_AVAILABLE_MSG = "warning: AES "
  46             + "instructions are not available on this CPU";
  47 
  48     /**
  49      * Constructs new TestAESIntrinsicsOnUnsupportedConfig that will be
  50      * executed only if AESSupportPredicate returns false
  51      */


< prev index next >