Tue, 08 Jan 2013 13:47:57 +0000
8005167: execution time of combo tests in javac should be improved
Reviewed-by: jjg, jjh
duke@1 | 1 | /** |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 6384542 |
duke@1 | 4 | * @summary crash: test/tools/javac/versions/check.sh |
duke@1 | 5 | * @author Peter von der Ah\u00e9 |
jjg@757 | 6 | * @compile/fail -source 1.4 -Xlint:-options T6384542.java |
jjg@757 | 7 | * @compile/fail/ref=T6384542.out -source 1.4 -Xlint:-options -XDrawDiagnostics T6384542.java |
duke@1 | 8 | */ |
duke@1 | 9 | |
duke@1 | 10 | import static java.lang.Math.sin; |
duke@1 | 11 | |
duke@1 | 12 | public enum A { } |
duke@1 | 13 | class B { |
duke@1 | 14 | int i = 0xCafe.BabeP1; |
duke@1 | 15 | List<X> l; |
duke@1 | 16 | public static void main(String... args) { |
duke@1 | 17 | for (String arg : args) { |
duke@1 | 18 | System.out.println(arg); |
duke@1 | 19 | } |
duke@1 | 20 | } |
duke@1 | 21 | @Override |
duke@1 | 22 | public String toString() { return null; } |
duke@1 | 23 | } |
duke@1 | 24 | public klass C { } |