mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8173300: [TESTBUG]compiler/tiered/NonTieredLevelsTest.java fails with compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
Corrected available compilation levels for client builds. Reviewed-by: kvn
This commit is contained in:
parent
94db4c91c3
commit
ac41b68c15
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ public class NonTieredLevelsTest extends CompLevelsTest {
|
||||||
IS_AVAILABLE_COMPLEVEL = x -> x == COMP_LEVEL_FULL_OPTIMIZATION;
|
IS_AVAILABLE_COMPLEVEL = x -> x == COMP_LEVEL_FULL_OPTIMIZATION;
|
||||||
} else if (Platform.isClient() || Platform.isMinimal() || Platform.isEmulatedClient()) {
|
} else if (Platform.isClient() || Platform.isMinimal() || Platform.isEmulatedClient()) {
|
||||||
AVAILABLE_COMP_LEVEL = COMP_LEVEL_SIMPLE;
|
AVAILABLE_COMP_LEVEL = COMP_LEVEL_SIMPLE;
|
||||||
IS_AVAILABLE_COMPLEVEL = x -> x >= COMP_LEVEL_SIMPLE
|
IS_AVAILABLE_COMPLEVEL = x -> x == COMP_LEVEL_SIMPLE;
|
||||||
&& x <= COMP_LEVEL_FULL_PROFILE;
|
|
||||||
} else {
|
} else {
|
||||||
throw new Error("TESTBUG: unknown VM: " + Platform.vmName);
|
throw new Error("TESTBUG: unknown VM: " + Platform.vmName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue