equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /** |
24 /** |
25 * @test |
25 * @test |
26 * @bug 6330997 7025789 8000961 8188870 |
26 * @bug 6330997 7025789 8000961 8188870 8193290 |
27 * @summary javac should accept class files with major version of the next release |
27 * @summary javac should accept class files with major version of the next release |
28 * @author Wei Tao |
28 * @author Wei Tao |
29 * @modules jdk.compiler/com.sun.tools.javac.api |
29 * @modules jdk.compiler/com.sun.tools.javac.api |
30 * jdk.compiler/com.sun.tools.javac.code |
30 * jdk.compiler/com.sun.tools.javac.code |
31 * jdk.compiler/com.sun.tools.javac.comp |
31 * jdk.compiler/com.sun.tools.javac.comp |
32 * jdk.compiler/com.sun.tools.javac.main |
32 * jdk.compiler/com.sun.tools.javac.main |
33 * jdk.compiler/com.sun.tools.javac.util |
33 * jdk.compiler/com.sun.tools.javac.util |
34 * @clean T1 T2 |
34 * @clean T1 T2 |
35 * @compile -source 10 -target 11 T1.java |
35 * @compile -source 11 -target 12 T1.java |
36 * @compile -source 10 -target 11 T2.java |
36 * @compile -source 11 -target 12 T2.java |
37 * @run main/othervm T6330997 |
37 * @run main/othervm T6330997 |
38 */ |
38 */ |
39 |
39 |
40 import java.nio.*; |
40 import java.nio.*; |
41 import java.io.*; |
41 import java.io.*; |