test/tools/javac/Diagnostics/6769027/T6769027.java

changeset 1520
5c956be64b9e
parent 1482
954541f13717
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/Diagnostics/6769027/T6769027.java	Wed Jan 23 15:08:03 2013 +0000
     1.2 +++ b/test/tools/javac/Diagnostics/6769027/T6769027.java	Wed Jan 23 20:57:40 2013 +0000
     1.3 @@ -23,14 +23,18 @@
     1.4  
     1.5  /**
     1.6   * @test
     1.7 - * @bug     6769027
     1.8 + * @bug     6769027 8006694
     1.9   * @summary Source line should be displayed immediately after the first diagnostic line
    1.10 + *  temporarily workaround combo tests are causing time out in several platforms
    1.11   * @author  Maurizio Cimadamore
    1.12   * @library ../../lib
    1.13   * @build JavacTestingAbstractThreadedTest
    1.14   * @run main/othervm T6769027
    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.net.URI;
    1.21  import java.util.regex.Matcher;
    1.22  import javax.tools.*;
    1.23 @@ -488,7 +492,7 @@
    1.24          }
    1.25  
    1.26          if (!msg.equals(errorLine)) {
    1.27 -            printInfo(msg, errorLine);
    1.28 +//            printInfo(msg, errorLine);
    1.29              errCount.incrementAndGet();
    1.30          }
    1.31      }

mercurial