--- old/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java 2017-05-26 16:34:12.106927841 -0700 +++ new/test/compiler/rtm/cli/TestRTMAbortRatioOptionOnUnsupportedConfig.java 2017-05-26 16:34:11.974927848 -0700 @@ -29,7 +29,7 @@ * @library /test/lib / * @modules java.base/jdk.internal.misc * java.management - * + * @requires !(vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os) * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission @@ -40,25 +40,17 @@ package compiler.rtm.cli; -import compiler.testlibrary.rtm.predicate.SupportedCPU; -import compiler.testlibrary.rtm.predicate.SupportedOS; -import compiler.testlibrary.rtm.predicate.SupportedVM; -import jdk.test.lib.cli.predicate.AndPredicate; -import jdk.test.lib.cli.predicate.NotPredicate; - public class TestRTMAbortRatioOptionOnUnsupportedConfig extends RTMGenericCommandLineOptionTest { private static final String DEFAULT_VALUE = "50"; private TestRTMAbortRatioOptionOnUnsupportedConfig() { - super(new NotPredicate( - new AndPredicate(new SupportedCPU(), new SupportedOS(), new SupportedVM())), - "RTMAbortRatio", false, true, + super("RTMAbortRatio", false, true, TestRTMAbortRatioOptionOnUnsupportedConfig.DEFAULT_VALUE, - "0", "10", "100", "200"); + "0", "10", "100"); } public static void main(String args[]) throws Throwable { - new TestRTMAbortRatioOptionOnUnsupportedConfig().test(); + new TestRTMAbortRatioOptionOnUnsupportedConfig().runTestCases(); } }