test/tools/javac/failover/CheckAttributedTree.java

changeset 1520
5c956be64b9e
parent 1482
954541f13717
child 1521
71f35e4b93a5
     1.1 --- a/test/tools/javac/failover/CheckAttributedTree.java	Wed Jan 23 15:08:03 2013 +0000
     1.2 +++ b/test/tools/javac/failover/CheckAttributedTree.java	Wed Jan 23 20:57:40 2013 +0000
     1.3 @@ -23,13 +23,17 @@
     1.4  
     1.5  /*
     1.6   * @test
     1.7 - * @bug 6970584
     1.8 + * @bug 6970584 8006694
     1.9   * @summary assorted position errors in compiler syntax trees
    1.10 + *  temporarily workaround combo tests are causing time out in several platforms
    1.11   * @library ../lib
    1.12   * @build JavacTestingAbstractThreadedTest
    1.13 - * @run main CheckAttributedTree -q -r -et ERRONEOUS .
    1.14 + * @run main/othervm CheckAttributedTree -q -r -et ERRONEOUS .
    1.15   */
    1.16  
    1.17 +// use /othervm to avoid jtreg timeout issues (CODETOOLS-7900047)
    1.18 +// see JDK-8006746
    1.19 +
    1.20  import java.awt.BorderLayout;
    1.21  import java.awt.Color;
    1.22  import java.awt.Dimension;
    1.23 @@ -505,7 +509,7 @@
    1.24          }
    1.25  
    1.26          public void report(Diagnostic<? extends JavaFileObject> diagnostic) {
    1.27 -            out.println(diagnostic);
    1.28 +            //out.println(diagnostic);
    1.29              switch (diagnostic.getKind()) {
    1.30                  case ERROR:
    1.31                      errors++;

mercurial