hotspot/test/compiler/whitebox/MakeMethodNotCompilableTest.java
changeset 20294 af95d17f2e04
parent 19332 ee4c8c2af356
child 22214 c551021e75b2
equal deleted inserted replaced
20293:1dd93ae4304d 20294:af95d17f2e04
    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