--- old/test/compiler/whitebox/MakeMethodNotCompilableTest.java 2014-10-24 11:01:45.462892001 +0200 +++ new/test/compiler/whitebox/MakeMethodNotCompilableTest.java 2014-10-24 11:01:45.346892005 +0200 @@ -132,14 +132,15 @@ throw new RuntimeException(method + " is not compilable after clearMethodState()"); } - + // Make method not (OSR-)compilable (depending on testCase.isOsr()) makeNotCompilable(); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); } - + // Try to (OSR-)compile method compile(); - checkNotOsrCompiled(); + // Method should not be (OSR-)compiled + checkNotCompiled(testCase.isOsr()); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); }