8067823: CheckCompileThresholdScaling.java throws RuntimeException

Reviewed-by: kvn, iignatyev
This commit is contained in:
Goetz Lindenmaier 2014-12-19 16:42:16 +01:00
parent 832167be7f
commit e176c66ae5

View File

@ -330,7 +330,7 @@ public class CheckCompileThresholdScaling {
} catch (RuntimeException e) {
// Check if tiered compilation is available in this JVM
// Version. Throw exception only if it is available.
if (!(tiered && out.getOutput().contains("Client VM warning: TieredCompilation is disabled in this release."))) {
if (!(tiered && out.getOutput().contains("TieredCompilation is disabled in this release."))) {
throw new RuntimeException(e);
}
}