equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2011 Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 6395981 6458819 |
26 * @bug 6395981 6458819 7025784 |
27 * @summary JavaCompilerTool and Tool must specify version of JLS and JVMS |
27 * @summary JavaCompilerTool and Tool must specify version of JLS and JVMS |
28 * @author Peter von der Ah\u00e9 |
28 * @author Peter von der Ah\u00e9 |
29 * @run main/fail T6395981 |
29 * @run main/fail T6395981 |
30 * @run main/fail T6395981 RELEASE_3 RELEASE_5 RELEASE_6 |
30 * @run main/fail T6395981 RELEASE_3 RELEASE_5 RELEASE_6 |
31 * @run main/fail T6395981 RELEASE_0 RELEASE_1 RELEASE_2 RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6 |
31 * @run main/fail T6395981 RELEASE_0 RELEASE_1 RELEASE_2 RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6 |
32 * @run main T6395981 RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6 RELEASE_7 |
32 * @run main T6395981 RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6 RELEASE_7 RELEASE_8 |
33 */ |
33 */ |
34 |
34 |
35 import java.util.EnumSet; |
35 import java.util.EnumSet; |
36 import java.util.Set; |
36 import java.util.Set; |
37 import javax.lang.model.SourceVersion; |
37 import javax.lang.model.SourceVersion; |