8173300: [TESTBUG]compiler/tiered/NonTieredLevelsTest.java fails with compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
authorjcm
Tue, 24 Jan 2017 20:47:24 -0800
changeset 43480 1acb78ec156d
parent 43479 67507b173e81
child 43481 47657134c5c2
8173300: [TESTBUG]compiler/tiered/NonTieredLevelsTest.java fails with compiler.whitebox.SimpleTestCaseHelper(int) must be compiled Summary: Corrected available compilation levels for client builds. Reviewed-by: kvn
hotspot/test/compiler/tiered/NonTieredLevelsTest.java
--- a/hotspot/test/compiler/tiered/NonTieredLevelsTest.java	Tue Jan 24 17:19:01 2017 -0800
+++ b/hotspot/test/compiler/tiered/NonTieredLevelsTest.java	Tue Jan 24 20:47:24 2017 -0800
@@ -52,8 +52,7 @@
             IS_AVAILABLE_COMPLEVEL = x -> x == COMP_LEVEL_FULL_OPTIMIZATION;
         } else if (Platform.isClient() || Platform.isMinimal() || Platform.isEmulatedClient()) {
             AVAILABLE_COMP_LEVEL = COMP_LEVEL_SIMPLE;
-            IS_AVAILABLE_COMPLEVEL = x -> x >= COMP_LEVEL_SIMPLE
-                    && x <= COMP_LEVEL_FULL_PROFILE;
+            IS_AVAILABLE_COMPLEVEL = x -> x == COMP_LEVEL_SIMPLE;
         } else {
             throw new Error("TESTBUG: unknown VM: " + Platform.vmName);
         }