test/tools/javac/varargs/warning/Warn5.java

changeset 1520
5c956be64b9e
parent 1482
954541f13717
child 2525
2eb010b6cb22
equal deleted inserted replaced
1519:97bd5e7151bc 1520:5c956be64b9e
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /** 24 /**
25 * @test 25 * @test
26 * @bug 6993978 7097436 26 * @bug 6993978 7097436 8006694
27 * @summary Project Coin: Annotation to reduce varargs warnings 27 * @summary Project Coin: Annotation to reduce varargs warnings
28 * temporarily workaround combo tests are causing time out in several platforms
28 * @author mcimadamore 29 * @author mcimadamore
29 * @library ../../lib 30 * @library ../../lib
30 * @build JavacTestingAbstractThreadedTest 31 * @build JavacTestingAbstractThreadedTest
31 * @run main Warn5 32 * @run main/othervm Warn5
32 */ 33 */
34
35 // use /othervm to avoid jtreg timeout issues (CODETOOLS-7900047)
36 // see JDK-8006746
37
33 import java.net.URI; 38 import java.net.URI;
34 import java.util.Arrays; 39 import java.util.Arrays;
35 import java.util.EnumSet; 40 import java.util.EnumSet;
36 import javax.tools.Diagnostic; 41 import javax.tools.Diagnostic;
37 import javax.tools.JavaCompiler; 42 import javax.tools.JavaCompiler;

mercurial