Mercurial > hg > truffle
diff test/compiler/whitebox/MakeMethodNotCompilableTest.java @ 20804:7848fc12602b
Merge with jdk8u40-b25
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 07 Apr 2015 14:58:49 +0200 |
parents | 52b4284cb496 f5f752e74840 |
children |
line wrap: on
line diff
--- a/test/compiler/whitebox/MakeMethodNotCompilableTest.java Tue Apr 07 11:20:51 2015 +0200 +++ b/test/compiler/whitebox/MakeMethodNotCompilableTest.java Tue Apr 07 14:58:49 2015 +0200 @@ -131,14 +131,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(); - checkNotCompiled(); + // Method should not be (OSR-)compiled + checkNotCompiled(testCase.isOsr()); if (isCompilable()) { throw new RuntimeException(method + " must be not compilable"); }