langtools/test/tools/javac/cast/intersection/IntersectionTypeCastTest.java
changeset 15384 5a8d00abf076
parent 15375 d2529dc91d77
child 20249 93f8eae31092
equal deleted inserted replaced
15383:ee0b5f7f41b1 15384:5a8d00abf076
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8002099
    26  * @bug 8002099 8006694
    27  * @summary Add support for intersection types in cast expression
    27  * @summary Add support for intersection types in cast expression
       
    28  *  temporarily workaround combo tests are causing time out in several platforms
    28  * @library ../../lib
    29  * @library ../../lib
    29  * @build JavacTestingAbstractThreadedTest
    30  * @build JavacTestingAbstractThreadedTest
    30  * @run main/timeout=360 IntersectionTypeCastTest
    31  * @run main/othervm/timeout=360 IntersectionTypeCastTest
    31  */
    32  */
       
    33 
       
    34 // use /othervm to avoid jtreg timeout issues (CODETOOLS-7900047)
       
    35 // see JDK-8006746
    32 
    36 
    33 import java.net.URI;
    37 import java.net.URI;
    34 import java.util.Arrays;
    38 import java.util.Arrays;
    35 import javax.tools.Diagnostic;
    39 import javax.tools.Diagnostic;
    36 import javax.tools.JavaCompiler;
    40 import javax.tools.JavaCompiler;