Tue, 08 Jan 2013 13:47:57 +0000
8005167: execution time of combo tests in javac should be improved
Reviewed-by: jjg, jjh
1 /*
2 * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
24 // This file is not executed directly; it just exists to contain the
25 // set of test descriptions
27 /*
28 * @test
29 * @bug 5047307
30 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
31 * @compile/ref=Test1.out -XDrawDiagnostics A.java
32 */
34 /*
35 * @test
36 * @bug 5047307
37 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
38 * @compile/ref=Test1.out -XDrawDiagnostics -nowarn A.java
39 */
41 /*
42 * @test
43 * @bug 5047307
44 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
45 * @compile/ref=Test1.out -XDrawDiagnostics -Xmaxwarns 1 A.java
46 */
48 /*
49 * @test
50 * @bug 5047307
51 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
52 * @compile/ref=Test2.out -XDrawDiagnostics A.java B.java
53 */
55 /*
56 * @test
57 * @bug 5047307
58 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
59 * @compile/ref=Test2.out -XDrawDiagnostics -nowarn A.java B.java
60 */
62 /*
63 * @test
64 * @bug 5047307
65 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
66 * @compile/ref=Test2.out -XDrawDiagnostics -Xmaxwarns 1 A.java B.java
67 */
69 /*
70 * @test
71 * @bug 5047307
72 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
73 * @compile/ref=Test3.out -XDrawDiagnostics -Xlint:unchecked A.java
74 */
76 /*
77 * @test
78 * @bug 5047307
79 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
80 * @compile/ref=Test3.out -XDrawDiagnostics -nowarn -Xlint:unchecked A.java
81 */
83 /*
84 * @test
85 * @bug 5047307
86 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
87 * @compile/ref=Test3b.out -XDrawDiagnostics -nowarn -Xlint:unchecked -Xmaxwarns 1 A.java
88 */
90 /*
91 * @test
92 * @bug 5047307
93 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
94 * @compile/ref=Test4.out -XDrawDiagnostics -Xlint:unchecked A.java B.java
95 */
97 /*
98 * @test
99 * @bug 5047307
100 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
101 * @compile/ref=Test4.out -XDrawDiagnostics -nowarn -Xlint:unchecked A.java B.java
102 */
104 /*
105 * @test
106 * @bug 5047307
107 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
108 * @compile/ref=Test4b.out -XDrawDiagnostics -nowarn -Xlint:unchecked -Xmaxwarns 1 A.java B.java
109 */
111 /*
112 * @test
113 * @bug 5047307
114 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
115 * @compile/ref=Test4c.out -XDrawDiagnostics -nowarn -Xlint:unchecked -Xmaxwarns 2 A.java B.java
116 */
118 /*
119 * @test
120 * @bug 5047307
121 * @summary javac -nowarn improperly suppresses JLS-mandated warnings
122 * @compile/ref=Test4d.out -XDrawDiagnostics -nowarn -Xlint:unchecked -Xmaxwarns 3 A.java B.java
123 */