comparison test/compiler/whitebox/MakeMethodNotCompilableTest.java @ 12328:303826f477c6

8023452: TestCase$Helper(java.lang.Object) must be osr_compiled Reviewed-by: kvn
author iignatyev
date Sat, 28 Sep 2013 12:32:10 +0400
parents f99558245e5c
children f9a4b59ae350
comparison
equal deleted inserted replaced
12327:e8e077292da3 12328:303826f477c6
60 * 60 *
61 * @throws Exception if one of the checks fails. 61 * @throws Exception if one of the checks fails.
62 */ 62 */
63 @Override 63 @Override
64 protected void test() throws Exception { 64 protected void test() throws Exception {
65 if (testCase.isOsr && CompilerWhiteBoxTest.MODE.startsWith(
66 "compiled ")) {
67 System.err.printf("Warning: %s is not applicable in %s%n",
68 testCase.name(), CompilerWhiteBoxTest.MODE);
69 return;
70 }
65 checkNotCompiled(); 71 checkNotCompiled();
66 if (!isCompilable()) { 72 if (!isCompilable()) {
67 throw new RuntimeException(method + " must be compilable"); 73 throw new RuntimeException(method + " must be compilable");
68 } 74 }
69 75