test/compiler/whitebox/DeoptimizeAllTest.java

changeset 6353
d559dbbded7a
parent 6211
d1760952ebdd
child 6876
710a3c8b516e
     1.1 --- a/test/compiler/whitebox/DeoptimizeAllTest.java	Tue Mar 11 16:05:36 2014 -0700
     1.2 +++ b/test/compiler/whitebox/DeoptimizeAllTest.java	Thu Mar 06 12:47:45 2014 +0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -51,11 +51,8 @@
    1.11       */
    1.12      @Override
    1.13      protected void test() throws Exception {
    1.14 -        if (testCase.isOsr() && CompilerWhiteBoxTest.MODE.startsWith(
    1.15 -                "compiled ")) {
    1.16 -          System.err.printf("Warning: %s is not applicable in %s%n",
    1.17 -                testCase.name(), CompilerWhiteBoxTest.MODE);
    1.18 -          return;
    1.19 +        if (skipXcompOSR()) {
    1.20 +            return;
    1.21          }
    1.22          compile();
    1.23          checkCompiled();

mercurial