Wed, 27 May 2009 22:34:43 -0700
6843761: Update langtools tests to remove unncessary -source and -target options
Reviewed-by: jjg
1.1 --- a/test/com/sun/javadoc/testIndex/TestIndex.java Thu May 21 10:56:36 2009 +0100 1.2 +++ b/test/com/sun/javadoc/testIndex/TestIndex.java Wed May 27 22:34:43 2009 -0700 1.3 @@ -41,7 +41,7 @@ 1.4 1.5 //Javadoc arguments. 1.6 private static final String[] ARGS = new String[] { 1.7 - "-d", BUG_ID, "-source", "1.5", "-sourcepath", SRC_DIR, "pkg", SRC_DIR + FS + "NoPackage.java" 1.8 + "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg", SRC_DIR + FS + "NoPackage.java" 1.9 }; 1.10 1.11 //Input for string search tests.
2.1 --- a/test/com/sun/javadoc/testInterface/TestInterface.java Thu May 21 10:56:36 2009 +0100 2.2 +++ b/test/com/sun/javadoc/testInterface/TestInterface.java Wed May 27 22:34:43 2009 -0700 2.3 @@ -42,7 +42,7 @@ 2.4 2.5 //Javadoc arguments. 2.6 private static final String[] ARGS = new String[] { 2.7 - "-source", "1.5", "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg" 2.8 + "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg" 2.9 }; 2.10 2.11 //Input for string search tests.
3.1 --- a/test/com/sun/javadoc/testNavagation/TestNavagation.java Thu May 21 10:56:36 2009 +0100 3.2 +++ b/test/com/sun/javadoc/testNavagation/TestNavagation.java Wed May 27 22:34:43 2009 -0700 3.3 @@ -40,7 +40,7 @@ 3.4 3.5 //Javadoc arguments. 3.6 private static final String[] ARGS = new String[] { 3.7 - "-d", BUG_ID, "-sourcepath", SRC_DIR, "-source", "1.5", "pkg" 3.8 + "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg" 3.9 }; 3.10 3.11 //Input for string search tests.
4.1 --- a/test/com/sun/javadoc/testTagInheritence/TestTagInheritence.java Thu May 21 10:56:36 2009 +0100 4.2 +++ b/test/com/sun/javadoc/testTagInheritence/TestTagInheritence.java Wed May 27 22:34:43 2009 -0700 4.3 @@ -36,7 +36,7 @@ 4.4 4.5 private static final String BUG_ID = "4496223-4496270-4618686-4720974-4812240-6253614-6253604"; 4.6 private static final String[] ARGS = new String[] { 4.7 - "-source", "1.5", "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg", "firstSentence", "firstSentence2" 4.8 + "-d", BUG_ID, "-sourcepath", SRC_DIR, "pkg", "firstSentence", "firstSentence2" 4.9 }; 4.10 4.11 /**
5.1 --- a/test/tools/javac/5005368.java Thu May 21 10:56:36 2009 +0100 5.2 +++ b/test/tools/javac/5005368.java Wed May 27 22:34:43 2009 -0700 5.3 @@ -27,8 +27,8 @@ 5.4 * @summary com/sun/tools/javac/comp/Check.java refers to the undefined resource 5.5 * @author gafter 5.6 * 5.7 - * @compile -source 1.5 -Werror 5005368.java 5.8 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked 5005368.java 5.9 + * @compile -Werror 5005368.java 5.10 + * @compile/fail -Werror -Xlint:unchecked 5005368.java 5.11 */ 5.12 5.13 package p5005368;
6.1 --- a/test/tools/javac/Ambig3.java Thu May 21 10:56:36 2009 +0100 6.2 +++ b/test/tools/javac/Ambig3.java Wed May 27 22:34:43 2009 -0700 6.3 @@ -27,7 +27,7 @@ 6.4 * @summary Missing ambiguity error when two methods are equally specific 6.5 * @author gafter 6.6 * 6.7 - * @compile/fail -source 1.5 Ambig3.java 6.8 + * @compile/fail Ambig3.java 6.9 */ 6.10 6.11 class Test<T,E> {
7.1 --- a/test/tools/javac/ArrayCast.java Thu May 21 10:56:36 2009 +0100 7.2 +++ b/test/tools/javac/ArrayCast.java Wed May 27 22:34:43 2009 -0700 7.3 @@ -28,7 +28,7 @@ 7.4 * compilation. This was fixed in 1.2beta2. 7.5 * @author turnidge 7.6 * 7.7 - * @compile -source 1.4 ArrayCast.java 7.8 + * @compile ArrayCast.java 7.9 */ 7.10 7.11 public class ArrayCast {
8.1 --- a/test/tools/javac/BadCovar.java Thu May 21 10:56:36 2009 +0100 8.2 +++ b/test/tools/javac/BadCovar.java Wed May 27 22:34:43 2009 -0700 8.3 @@ -27,7 +27,7 @@ 8.4 * @summary Compiler allows inheritance of multiple methods with unrelated return types 8.5 * @author gafter 8.6 * 8.7 - * @compile/fail -source 1.5 BadCovar.java 8.8 + * @compile/fail BadCovar.java 8.9 */ 8.10 8.11 package bad.covar;
9.1 --- a/test/tools/javac/ClassLiterals/InitializeOuter.java Thu May 21 10:56:36 2009 +0100 9.2 +++ b/test/tools/javac/ClassLiterals/InitializeOuter.java Wed May 27 22:34:43 2009 -0700 9.3 @@ -27,7 +27,7 @@ 9.4 * @summary Using a class literal causes outermost class to be initialized early 9.5 * @author gafter 9.6 * 9.7 - * @compile -source 1.4 -target 1.4.2 InitializeOuter.java 9.8 + * @compile InitializeOuter.java 9.9 * @run main InitializeOuter 9.10 */ 9.11
10.1 --- a/test/tools/javac/ClassLiterals/InitializeTarget.java Thu May 21 10:56:36 2009 +0100 10.2 +++ b/test/tools/javac/ClassLiterals/InitializeTarget.java Wed May 27 22:34:43 2009 -0700 10.3 @@ -27,7 +27,7 @@ 10.4 * @summary class literal causes the referenced class to be initialized 10.5 * @author gafter 10.6 * 10.7 - * @compile -source 1.4 -target 1.4.2 InitializeTarget.java 10.8 + * @compile InitializeTarget.java 10.9 * @run main InitializeTarget 10.10 */ 10.11
11.1 --- a/test/tools/javac/ClassToTypeParm.java Thu May 21 10:56:36 2009 +0100 11.2 +++ b/test/tools/javac/ClassToTypeParm.java Wed May 27 22:34:43 2009 -0700 11.3 @@ -27,7 +27,7 @@ 11.4 * @summary Generics: assignment of Class to type parm's default should elicit error 11.5 * @author never 11.6 * 11.7 - * @compile/fail -source 1.5 ClassToTypeParm.java 11.8 + * @compile/fail ClassToTypeParm.java 11.9 */ 11.10 11.11 class ClassToTypeParm<T> {
12.1 --- a/test/tools/javac/Closure1.java Thu May 21 10:56:36 2009 +0100 12.2 +++ b/test/tools/javac/Closure1.java Wed May 27 22:34:43 2009 -0700 12.3 @@ -27,7 +27,7 @@ 12.4 * @summary Initialization of up-level links, immediately after super(), occurs too late. 12.5 * @author gafter 12.6 * 12.7 - * @compile -source 1.4 -target 1.4 Closure1.java 12.8 + * @compile Closure1.java 12.9 * @run main Closure1 12.10 */ 12.11
13.1 --- a/test/tools/javac/Closure2.java Thu May 21 10:56:36 2009 +0100 13.2 +++ b/test/tools/javac/Closure2.java Wed May 27 22:34:43 2009 -0700 13.3 @@ -27,7 +27,7 @@ 13.4 * @summary Initialization of up-level links, immediately after super(), occurs too late. 13.5 * @author gafter 13.6 * 13.7 - * @compile -source 1.4 -target 1.4 Closure2.java 13.8 + * @compile Closure2.java 13.9 * @run main Closure2 13.10 */ 13.11
14.1 --- a/test/tools/javac/Closure3.java Thu May 21 10:56:36 2009 +0100 14.2 +++ b/test/tools/javac/Closure3.java Wed May 27 22:34:43 2009 -0700 14.3 @@ -27,7 +27,7 @@ 14.4 * @summary Initialization of up-level links, immediately after super(), occurs too late. 14.5 * @author gafter 14.6 * 14.7 - * @compile -source 1.4 -target 1.4 Closure3.java 14.8 + * @compile Closure3.java 14.9 * @run main Closure3 14.10 */ 14.11
15.1 --- a/test/tools/javac/Closure4.java Thu May 21 10:56:36 2009 +0100 15.2 +++ b/test/tools/javac/Closure4.java Wed May 27 22:34:43 2009 -0700 15.3 @@ -27,7 +27,7 @@ 15.4 * @summary Initialization of up-level links, immediately after super(), occurs too late. 15.5 * @author gafter 15.6 * 15.7 - * @compile -source 1.4 -target 1.4 Closure4.java 15.8 + * @compile Closure4.java 15.9 * @run main Closure4 15.10 */ 15.11
16.1 --- a/test/tools/javac/Closure5.java Thu May 21 10:56:36 2009 +0100 16.2 +++ b/test/tools/javac/Closure5.java Wed May 27 22:34:43 2009 -0700 16.3 @@ -27,7 +27,7 @@ 16.4 * @summary Incorrect order for initializers in nested class 16.5 * @author gafter 16.6 * 16.7 - * @compile -source 1.4 -target 1.4 Closure5.java 16.8 + * @compile Closure5.java 16.9 * @run main Closure5 16.10 */ 16.11
17.1 --- a/test/tools/javac/CompoundBox.java Thu May 21 10:56:36 2009 +0100 17.2 +++ b/test/tools/javac/CompoundBox.java Wed May 27 22:34:43 2009 -0700 17.3 @@ -27,7 +27,7 @@ 17.4 * @summary drop compound boxing operations 17.5 * @author gafter 17.6 * 17.7 - * @compile/fail -source 1.5 CompoundBox.java 17.8 + * @compile/fail CompoundBox.java 17.9 */ 17.10 17.11 class CompoundBox {
18.1 --- a/test/tools/javac/ConditionalArgTypes_1.java Thu May 21 10:56:36 2009 +0100 18.2 +++ b/test/tools/javac/ConditionalArgTypes_1.java Wed May 27 22:34:43 2009 -0700 18.3 @@ -28,7 +28,7 @@ 18.4 * @author maddox 18.5 * 18.6 * @compile/fail -source 1.4 ConditionalArgTypes_1.java 18.7 - * @compile -source 1.5 ConditionalArgTypes_1.java 18.8 + * @compile ConditionalArgTypes_1.java 18.9 */ 18.10 18.11 // This is the problematic case -- the controlling expression is a boolean constant.
19.1 --- a/test/tools/javac/ConditionalArgTypes_2.java Thu May 21 10:56:36 2009 +0100 19.2 +++ b/test/tools/javac/ConditionalArgTypes_2.java Wed May 27 22:34:43 2009 -0700 19.3 @@ -28,7 +28,7 @@ 19.4 * @author maddox 19.5 * 19.6 * @compile/fail -source 1.4 ConditionalArgTypes_2.java 19.7 - * @compile -source 1.5 ConditionalArgTypes_2.java 19.8 + * @compile ConditionalArgTypes_2.java 19.9 */ 19.10 19.11 // This case was working before -- controlling expression is not a constant.
20.1 --- a/test/tools/javac/DefiniteAssignment/DUAssert.java Thu May 21 10:56:36 2009 +0100 20.2 +++ b/test/tools/javac/DefiniteAssignment/DUAssert.java Wed May 27 22:34:43 2009 -0700 20.3 @@ -22,12 +22,12 @@ 20.4 */ 20.5 20.6 /* 20.7 - * @test %E 20.8 + * @test 20.9 * @bug 4478838 4533580 20.10 * @summary Check correct handling of DU in assert statements 20.11 * @author Neal Gafter (gafter) 20.12 * 20.13 - * @run compile -source 1.4 DUAssert.java 20.14 + * @run compile DUAssert.java 20.15 */ 20.16 20.17 class DUSwitch {
21.1 --- a/test/tools/javac/EarlyAssert.java Thu May 21 10:56:36 2009 +0100 21.2 +++ b/test/tools/javac/EarlyAssert.java Wed May 27 22:34:43 2009 -0700 21.3 @@ -27,9 +27,6 @@ 21.4 * @summary Verify that assertions are enabled before the class is initialized 21.5 * and not thereafter 21.6 * @author gafter 21.7 - * 21.8 - * @compile -source 1.4 EarlyAssert.java 21.9 - * @run main EarlyAssert 21.10 */ 21.11 21.12 /*
22.1 --- a/test/tools/javac/Enum1.java Thu May 21 10:56:36 2009 +0100 22.2 +++ b/test/tools/javac/Enum1.java Wed May 27 22:34:43 2009 -0700 22.3 @@ -26,9 +26,6 @@ 22.4 * @bug 4934060 22.5 * @summary private enum ctor versus specialized enum constant crashes javac 22.6 * @author gafter 22.7 - * 22.8 - * @compile -source 1.5 Enum1.java 22.9 - * @run main Enum1 22.10 */ 22.11 22.12 public enum Enum1 {
23.1 --- a/test/tools/javac/GoodCovar.java Thu May 21 10:56:36 2009 +0100 23.2 +++ b/test/tools/javac/GoodCovar.java Wed May 27 22:34:43 2009 -0700 23.3 @@ -27,7 +27,7 @@ 23.4 * @summary multiple methods inheritence 23.5 * @author gafter 23.6 * 23.7 - * @compile -source 1.5 GoodCovar.java 23.8 + * @compile GoodCovar.java 23.9 */ 23.10 23.11 package good.covar;
24.1 --- a/test/tools/javac/HexFloatLiterals.java Thu May 21 10:56:36 2009 +0100 24.2 +++ b/test/tools/javac/HexFloatLiterals.java Wed May 27 22:34:43 2009 -0700 24.3 @@ -26,9 +26,6 @@ 24.4 * @bug 4920023 24.5 * @summary add "hexadecimal floating-point literal" support to javac as per 4896828 24.6 * @author gafter 24.7 - * 24.8 - * @compile -source 1.5 HexFloatLiterals.java 24.9 - * @run main HexFloatLiterals 24.10 */ 24.11 24.12 public class HexFloatLiterals {
25.1 --- a/test/tools/javac/HexThree.java Thu May 21 10:56:36 2009 +0100 25.2 +++ b/test/tools/javac/HexThree.java Wed May 27 22:34:43 2009 -0700 25.3 @@ -26,9 +26,6 @@ 25.4 * @bug 4920023 25.5 * @summary Test hex floating-point literals 25.6 * @author darcy 25.7 - * 25.8 - * @compile -source 1.5 HexThree.java 25.9 - * @run main HexThree 25.10 */ 25.11 25.12 public class HexThree {
26.1 --- a/test/tools/javac/InterfaceAssert.java Thu May 21 10:56:36 2009 +0100 26.2 +++ b/test/tools/javac/InterfaceAssert.java Wed May 27 22:34:43 2009 -0700 26.3 @@ -26,9 +26,6 @@ 26.4 * @bug 4399129 26.5 * @summary Check that assertions compile properly when nested in an interface 26.6 * @author gafter 26.7 - * 26.8 - * @compile -source 1.4 InterfaceAssert.java 26.9 - * @run main InterfaceAssert 26.10 */ 26.11 26.12 /*
27.1 --- a/test/tools/javac/InvalidIntfCast.java Thu May 21 10:56:36 2009 +0100 27.2 +++ b/test/tools/javac/InvalidIntfCast.java Wed May 27 22:34:43 2009 -0700 27.3 @@ -27,7 +27,7 @@ 27.4 * @summary The compiler should detect an invalid cast between interfaces. 27.5 * @author turnidge 27.6 * 27.7 - * @compile -source 1.5 InvalidIntfCast.java 27.8 + * @compile InvalidIntfCast.java 27.9 */ 27.10 27.11 interface I {
28.1 --- a/test/tools/javac/NewGeneric.java Thu May 21 10:56:36 2009 +0100 28.2 +++ b/test/tools/javac/NewGeneric.java Wed May 27 22:34:43 2009 -0700 28.3 @@ -27,7 +27,7 @@ 28.4 * @summary unclear diagnostic for "new T()" 28.5 * @author never 28.6 * 28.7 - * @compile/fail -source 1.5 NewGeneric.java 28.8 + * @compile/fail NewGeneric.java 28.9 */ 28.10 28.11
29.1 --- a/test/tools/javac/ObjectMethodRefFromInterface.java Thu May 21 10:56:36 2009 +0100 29.2 +++ b/test/tools/javac/ObjectMethodRefFromInterface.java Wed May 27 22:34:43 2009 -0700 29.3 @@ -27,9 +27,6 @@ 29.4 * @summary Verify that access to member of java.lang.Object via qualification of 29.5 * object of an interface type is handled successfully. 29.6 * @author maddox 29.7 - * 29.8 - * @run compile -source 1.3 -target 1.2 -g ObjectMethodRefFromInterface.java 29.9 - * @run main/othervm ObjectMethodRefFromInterface 29.10 */ 29.11 29.12 public class ObjectMethodRefFromInterface {
30.1 --- a/test/tools/javac/PrivateLocalConstructor.java Thu May 21 10:56:36 2009 +0100 30.2 +++ b/test/tools/javac/PrivateLocalConstructor.java Wed May 27 22:34:43 2009 -0700 30.3 @@ -26,9 +26,6 @@ 30.4 * @bug 4365809 30.5 * @summary Incorrect access method for private constructor in local class. 30.6 * @author gafter 30.7 - * 30.8 - * @compile -source 1.4 -target 1.4 PrivateLocalConstructor.java 30.9 - * @run main PrivateLocalConstructor 30.10 */ 30.11 30.12 public class PrivateLocalConstructor {
31.1 --- a/test/tools/javac/RawCrash.java Thu May 21 10:56:36 2009 +0100 31.2 +++ b/test/tools/javac/RawCrash.java Wed May 27 22:34:43 2009 -0700 31.3 @@ -27,7 +27,7 @@ 31.4 * @summary compiler crash with raw instantiation of generic inner class 31.5 * @author gafter 31.6 * 31.7 - * @compile -source 1.5 RawCrash.java 31.8 + * @compile RawCrash.java 31.9 */ 31.10 31.11 class A<E> {
32.1 --- a/test/tools/javac/SynthName2.java Thu May 21 10:56:36 2009 +0100 32.2 +++ b/test/tools/javac/SynthName2.java Wed May 27 22:34:43 2009 -0700 32.3 @@ -27,7 +27,7 @@ 32.4 * @summary using of synthetic names in local class causes ClassFormatError 32.5 * @author gafter 32.6 * 32.7 - * @compile/fail -source 1.4 -target 1.4 SynthName2.java 32.8 + * @compile/fail SynthName2.java 32.9 */ 32.10 32.11 import java.io.PrintStream;
33.1 --- a/test/tools/javac/T5090006/compiler.sh Thu May 21 10:56:36 2009 +0100 33.2 +++ b/test/tools/javac/T5090006/compiler.sh Wed May 27 22:34:43 2009 -0700 33.3 @@ -63,7 +63,7 @@ 33.4 ;; 33.5 esac 33.6 33.7 -"${TESTJAVA}${FS}bin${FS}javac" ${TESTTOOLVMOPTS} -verbose -source 5 -d "${TESTCLASSES}" -cp "${TESTSRC}${FS}broken.jar" "${TESTSRC}${FS}$1" 33.8 +"${TESTJAVA}${FS}bin${FS}javac" ${TESTTOOLVMOPTS} -verbose -d "${TESTCLASSES}" -cp "${TESTSRC}${FS}broken.jar" "${TESTSRC}${FS}$1" 33.9 33.10 result=$? 33.11
34.1 --- a/test/tools/javac/T5092545.java Thu May 21 10:56:36 2009 +0100 34.2 +++ b/test/tools/javac/T5092545.java Wed May 27 22:34:43 2009 -0700 34.3 @@ -26,8 +26,6 @@ 34.4 * @bug 5092545 34.5 * @summary Assertion failed in javac (ClassWriter.java:513) 34.6 * @author Peter von der Ah\u00e9 34.7 - * @compile -source 5 T5092545.java 34.8 - * @run main T5092545 34.9 */ 34.10 34.11 interface A { void g(); }
35.1 --- a/test/tools/javac/T5105890.java Thu May 21 10:56:36 2009 +0100 35.2 +++ b/test/tools/javac/T5105890.java Wed May 27 22:34:43 2009 -0700 35.3 @@ -26,8 +26,6 @@ 35.4 * @bug 5105890 35.5 * @summary (codegen) constant folding broken for conditional operator 35.6 * @author Peter von der Ah\u00e9 35.7 - * @compile -source 5 T5105890.java 35.8 - * @run main T5105890 35.9 */ 35.10 35.11 public class T5105890 {
36.1 --- a/test/tools/javac/annotations/default/A.java Thu May 21 10:56:36 2009 +0100 36.2 +++ b/test/tools/javac/annotations/default/A.java Wed May 27 22:34:43 2009 -0700 36.3 @@ -27,11 +27,11 @@ 36.4 * @summary Constraints regarding annotation defaults 36.5 * @author gafter 36.6 * 36.7 - * @compile -source 1.5 A.java 36.8 - * @compile -source 1.5 B.java 36.9 - * @compile -source 1.5 C.java 36.10 - * @compile/fail -source 1.5 Derr.java 36.11 - * @compile/fail -source 1.5 Eerr.java 36.12 + * @compile A.java 36.13 + * @compile B.java 36.14 + * @compile C.java 36.15 + * @compile/fail Derr.java 36.16 + * @compile/fail Eerr.java 36.17 */ 36.18 36.19 public @interface A {
37.1 --- a/test/tools/javac/annotations/neg/AnnComma.java Thu May 21 10:56:36 2009 +0100 37.2 +++ b/test/tools/javac/annotations/neg/AnnComma.java Wed May 27 22:34:43 2009 -0700 37.3 @@ -27,7 +27,7 @@ 37.4 * @summary annotation syntax allows extra ',' in parameter list. 37.5 * @author gafter 37.6 * 37.7 - * @compile/fail -source 1.5 AnnComma.java 37.8 + * @compile/fail AnnComma.java 37.9 */ 37.10 37.11 package annComma;
38.1 --- a/test/tools/javac/annotations/neg/ArrayLit.java Thu May 21 10:56:36 2009 +0100 38.2 +++ b/test/tools/javac/annotations/neg/ArrayLit.java Wed May 27 22:34:43 2009 -0700 38.3 @@ -27,7 +27,7 @@ 38.4 * @summary JSR175 (4): don't allow "new" in annotations 38.5 * @author gafter 38.6 * 38.7 - * @compile/fail -source 1.5 ArrayLit.java 38.8 + * @compile/fail ArrayLit.java 38.9 */ 38.10 38.11 @ArrayLit(new int[] {1, 2, 3})
39.1 --- a/test/tools/javac/annotations/neg/Constant.java Thu May 21 10:56:36 2009 +0100 39.2 +++ b/test/tools/javac/annotations/neg/Constant.java Wed May 27 22:34:43 2009 -0700 39.3 @@ -27,7 +27,7 @@ 39.4 * @summary JSR175 (5): annotations must be "constants" 39.5 * @author gafter 39.6 * 39.7 - * @compile/fail -source 1.5 Constant.java 39.8 + * @compile/fail Constant.java 39.9 */ 39.10 39.11 package test.tools.javac.annotation.Constant;
40.1 --- a/test/tools/javac/annotations/neg/Cycle1.java Thu May 21 10:56:36 2009 +0100 40.2 +++ b/test/tools/javac/annotations/neg/Cycle1.java Wed May 27 22:34:43 2009 -0700 40.3 @@ -27,7 +27,7 @@ 40.4 * @summary (JSR175) compiler allows self-containing annotation types 40.5 * @author gafter 40.6 * 40.7 - * @compile/fail -source 1.5 Cycle1.java 40.8 + * @compile/fail Cycle1.java 40.9 */ 40.10 40.11 package cycle1;
41.1 --- a/test/tools/javac/annotations/neg/Cycle2.java Thu May 21 10:56:36 2009 +0100 41.2 +++ b/test/tools/javac/annotations/neg/Cycle2.java Wed May 27 22:34:43 2009 -0700 41.3 @@ -27,7 +27,7 @@ 41.4 * @summary (JSR175) compiler allows self-containing annotation types 41.5 * @author gafter 41.6 * 41.7 - * @compile/fail -source 1.5 Cycle2.java 41.8 + * @compile/fail Cycle2.java 41.9 */ 41.10 41.11 package cycle2;
42.1 --- a/test/tools/javac/annotations/neg/Cycle3.java Thu May 21 10:56:36 2009 +0100 42.2 +++ b/test/tools/javac/annotations/neg/Cycle3.java Wed May 27 22:34:43 2009 -0700 42.3 @@ -27,7 +27,7 @@ 42.4 * @summary javac allows cyclic annotation interfaces with arrays 42.5 * @author gafter 42.6 * 42.7 - * @compile/fail -source 1.5 Cycle3.java 42.8 + * @compile/fail Cycle3.java 42.9 */ 42.10 42.11 package cycle3;
43.1 --- a/test/tools/javac/annotations/neg/Dep.java Thu May 21 10:56:36 2009 +0100 43.2 +++ b/test/tools/javac/annotations/neg/Dep.java Wed May 27 22:34:43 2009 -0700 43.3 @@ -28,8 +28,8 @@ 43.4 * @author gafter 43.5 * 43.6 * @compile -source 1.4 -Xlint:dep-ann -Werror Dep.java 43.7 - * @compile/fail -source 1.5 -Xlint:dep-ann -Werror Dep.java 43.8 - * @compile -source 1.5 -Xlint:dep-ann Dep.java 43.9 + * @compile/fail -Xlint:dep-ann -Werror Dep.java 43.10 + * @compile -Xlint:dep-ann Dep.java 43.11 */ 43.12 43.13 /** @deprecated */
44.1 --- a/test/tools/javac/annotations/neg/Dup.java Thu May 21 10:56:36 2009 +0100 44.2 +++ b/test/tools/javac/annotations/neg/Dup.java Wed May 27 22:34:43 2009 -0700 44.3 @@ -27,7 +27,7 @@ 44.4 * @summary JSR175 (3): don't allow repeated annotations 44.5 * @author gafter 44.6 * 44.7 - * @compile/fail -source 1.5 Dup.java 44.8 + * @compile/fail Dup.java 44.9 */ 44.10 44.11 @Dup
45.1 --- a/test/tools/javac/annotations/neg/DupTarget.java Thu May 21 10:56:36 2009 +0100 45.2 +++ b/test/tools/javac/annotations/neg/DupTarget.java Wed May 27 22:34:43 2009 -0700 45.3 @@ -27,7 +27,7 @@ 45.4 * @summary <at>Target 45.5 * @author gafter 45.6 * 45.7 - * @compile/fail -source 1.5 DupTarget.java 45.8 + * @compile/fail DupTarget.java 45.9 */ 45.10 45.11 @java.lang.annotation.Target({TYPE, FIELD, PACKAGE, FIELD})
46.1 --- a/test/tools/javac/annotations/neg/MemberOver.java Thu May 21 10:56:36 2009 +0100 46.2 +++ b/test/tools/javac/annotations/neg/MemberOver.java Wed May 27 22:34:43 2009 -0700 46.3 @@ -27,7 +27,7 @@ 46.4 * @summary Annotation members must not have same signature as Object or Annotation members 46.5 * @author gafter 46.6 * 46.7 - * @compile/fail -source 1.5 MemberOver.java 46.8 + * @compile/fail MemberOver.java 46.9 */ 46.10 46.11 package memberOver;
47.1 --- a/test/tools/javac/annotations/neg/ObjectMembers.java Thu May 21 10:56:36 2009 +0100 47.2 +++ b/test/tools/javac/annotations/neg/ObjectMembers.java Wed May 27 22:34:43 2009 -0700 47.3 @@ -27,7 +27,7 @@ 47.4 * @summary JSR175 (2): don't allow annotating members from Object 47.5 * @author gafter 47.6 * 47.7 - * @compile/fail -source 1.5 ObjectMembers.java 47.8 + * @compile/fail ObjectMembers.java 47.9 */ 47.10 47.11 @ObjectMembers(hashCode = 23)
48.1 --- a/test/tools/javac/annotations/neg/OverrideNo.java Thu May 21 10:56:36 2009 +0100 48.2 +++ b/test/tools/javac/annotations/neg/OverrideNo.java Wed May 27 22:34:43 2009 -0700 48.3 @@ -27,7 +27,7 @@ 48.4 * @summary JSR175 (7): implement <at>Overrides 48.5 * @author gafter 48.6 * 48.7 - * @compile/fail -source 1.5 OverrideNo.java 48.8 + * @compile/fail OverrideNo.java 48.9 */ 48.10 48.11 package overrideNo;
49.1 --- a/test/tools/javac/annotations/neg/Package.java Thu May 21 10:56:36 2009 +0100 49.2 +++ b/test/tools/javac/annotations/neg/Package.java Wed May 27 22:34:43 2009 -0700 49.3 @@ -27,7 +27,7 @@ 49.4 * @summary Package annotations 49.5 * @author gafter 49.6 * 49.7 - * @compile/fail -source 1.5 Package.java 49.8 + * @compile/fail Package.java 49.9 */ 49.10 49.11 @java.lang.annotation.Documented
50.1 --- a/test/tools/javac/annotations/neg/Recovery.java Thu May 21 10:56:36 2009 +0100 50.2 +++ b/test/tools/javac/annotations/neg/Recovery.java Wed May 27 22:34:43 2009 -0700 50.3 @@ -27,7 +27,7 @@ 50.4 * @summary compiler crash with malformed annotations 50.5 * @author gafter 50.6 * 50.7 - * @compile/fail -source 1.5 Recovery.java 50.8 + * @compile/fail Recovery.java 50.9 */ 50.10 50.11 import java.lang.annotation.*;
51.1 --- a/test/tools/javac/annotations/neg/Recovery1.java Thu May 21 10:56:36 2009 +0100 51.2 +++ b/test/tools/javac/annotations/neg/Recovery1.java Wed May 27 22:34:43 2009 -0700 51.3 @@ -27,7 +27,7 @@ 51.4 * @summary Assertion error is thrown when an annotation class cannot be found. 51.5 * @author gafter 51.6 * 51.7 - * @compile/fail -source 1.5 Recovery1.java 51.8 + * @compile/fail Recovery1.java 51.9 */ 51.10 51.11 package recovery1;
52.1 --- a/test/tools/javac/annotations/neg/Scope.java Thu May 21 10:56:36 2009 +0100 52.2 +++ b/test/tools/javac/annotations/neg/Scope.java Wed May 27 22:34:43 2009 -0700 52.3 @@ -27,7 +27,7 @@ 52.4 * @summary name lookup scope for annotations 52.5 * @author gafter 52.6 * 52.7 - * @compile/fail -source 1.5 Scope.java 52.8 + * @compile/fail Scope.java 52.9 */ 52.10 52.11 package annotation.scope;
53.1 --- a/test/tools/javac/annotations/neg/Syntax1.java Thu May 21 10:56:36 2009 +0100 53.2 +++ b/test/tools/javac/annotations/neg/Syntax1.java Wed May 27 22:34:43 2009 -0700 53.3 @@ -27,7 +27,7 @@ 53.4 * @summary compiler crash with ill-formed annotation 53.5 * @author gafter 53.6 * 53.7 - * @compile/fail -source 1.5 Syntax1.java 53.8 + * @compile/fail Syntax1.java 53.9 */ 53.10 53.11 package syntax1;
54.1 --- a/test/tools/javac/annotations/neg/WrongTarget.java Thu May 21 10:56:36 2009 +0100 54.2 +++ b/test/tools/javac/annotations/neg/WrongTarget.java Wed May 27 22:34:43 2009 -0700 54.3 @@ -27,7 +27,7 @@ 54.4 * @summary java.lang.annotation.Target 54.5 * @author gafter 54.6 * 54.7 - * @compile/fail -source 1.5 WrongTarget.java 54.8 + * @compile/fail WrongTarget.java 54.9 */ 54.10 54.11 @java.lang.annotation.Target({FIELD})
55.1 --- a/test/tools/javac/annotations/neg/WrongTarget2.java Thu May 21 10:56:36 2009 +0100 55.2 +++ b/test/tools/javac/annotations/neg/WrongTarget2.java Wed May 27 22:34:43 2009 -0700 55.3 @@ -27,7 +27,7 @@ 55.4 * @summary Compiler allows Inherited meta-attribute on local variable declaration. 55.5 * @author gafter 55.6 * 55.7 - * @compile/fail -source 1.5 WrongTarget2.java 55.8 + * @compile/fail WrongTarget2.java 55.9 */ 55.10 55.11 import java.lang.annotation.Inherited;
56.1 --- a/test/tools/javac/annotations/neg/WrongValue.java Thu May 21 10:56:36 2009 +0100 56.2 +++ b/test/tools/javac/annotations/neg/WrongValue.java Wed May 27 22:34:43 2009 -0700 56.3 @@ -27,7 +27,7 @@ 56.4 * @summary compiler: crashes when attributes with same elements are used in place of other 56.5 * @author gafter 56.6 * 56.7 - * @compile/fail -source 1.5 WrongValue.java 56.8 + * @compile/fail WrongValue.java 56.9 */ 56.10 56.11 @interface TestM2 {
57.1 --- a/test/tools/javac/annotations/neg/Z1.java Thu May 21 10:56:36 2009 +0100 57.2 +++ b/test/tools/javac/annotations/neg/Z1.java Wed May 27 22:34:43 2009 -0700 57.3 @@ -27,7 +27,7 @@ 57.4 * @summary implement "metadata" (attribute interfaces and program annotations) 57.5 * @author gafter 57.6 * 57.7 - * @compile/fail -source 1.5 Z1.java 57.8 + * @compile/fail Z1.java 57.9 */ 57.10 57.11 enum Color { red, green, blue }
58.1 --- a/test/tools/javac/annotations/neg/Z10.java Thu May 21 10:56:36 2009 +0100 58.2 +++ b/test/tools/javac/annotations/neg/Z10.java Wed May 27 22:34:43 2009 -0700 58.3 @@ -27,7 +27,7 @@ 58.4 * @summary implement "metadata" (attribute interfaces and program annotations) 58.5 * @author gafter 58.6 * 58.7 - * @compile/fail -source 1.5 Z10.java 58.8 + * @compile/fail Z10.java 58.9 */ 58.10 58.11 enum Color { red, green, blue }
59.1 --- a/test/tools/javac/annotations/neg/Z11.java Thu May 21 10:56:36 2009 +0100 59.2 +++ b/test/tools/javac/annotations/neg/Z11.java Wed May 27 22:34:43 2009 -0700 59.3 @@ -27,7 +27,7 @@ 59.4 * @summary implement "metadata" (attribute interfaces and program annotations) 59.5 * @author gafter 59.6 * 59.7 - * @compile/fail -source 1.5 Z11.java 59.8 + * @compile/fail Z11.java 59.9 */ 59.10 59.11 enum Color { red, green, blue }
60.1 --- a/test/tools/javac/annotations/neg/Z12.java Thu May 21 10:56:36 2009 +0100 60.2 +++ b/test/tools/javac/annotations/neg/Z12.java Wed May 27 22:34:43 2009 -0700 60.3 @@ -27,7 +27,7 @@ 60.4 * @summary implement "metadata" (attribute interfaces and program annotations) 60.5 * @author gafter 60.6 * 60.7 - * @compile/fail -source 1.5 Z12.java 60.8 + * @compile/fail Z12.java 60.9 */ 60.10 60.11 enum Color { red, green, blue }
61.1 --- a/test/tools/javac/annotations/neg/Z13.java Thu May 21 10:56:36 2009 +0100 61.2 +++ b/test/tools/javac/annotations/neg/Z13.java Wed May 27 22:34:43 2009 -0700 61.3 @@ -27,7 +27,7 @@ 61.4 * @summary implement "metadata" (attribute interfaces and program annotations) 61.5 * @author gafter 61.6 * 61.7 - * @compile/fail -source 1.5 Z13.java 61.8 + * @compile/fail Z13.java 61.9 */ 61.10 61.11 @interface An {
62.1 --- a/test/tools/javac/annotations/neg/Z14.java Thu May 21 10:56:36 2009 +0100 62.2 +++ b/test/tools/javac/annotations/neg/Z14.java Wed May 27 22:34:43 2009 -0700 62.3 @@ -27,7 +27,7 @@ 62.4 * @summary implement "metadata" (attribute interfaces and program annotations) 62.5 * @author gafter 62.6 * 62.7 - * @compile/fail -source 1.5 Z14.java 62.8 + * @compile/fail Z14.java 62.9 */ 62.10 62.11 @interface An<T> {
63.1 --- a/test/tools/javac/annotations/neg/Z15.java Thu May 21 10:56:36 2009 +0100 63.2 +++ b/test/tools/javac/annotations/neg/Z15.java Wed May 27 22:34:43 2009 -0700 63.3 @@ -27,7 +27,7 @@ 63.4 * @summary implement "metadata" (attribute interfaces and program annotations) 63.5 * @author gafter 63.6 * 63.7 - * @compile/fail -source 1.5 Z15.java 63.8 + * @compile/fail Z15.java 63.9 */ 63.10 63.11 @interface An {
64.1 --- a/test/tools/javac/annotations/neg/Z16.java Thu May 21 10:56:36 2009 +0100 64.2 +++ b/test/tools/javac/annotations/neg/Z16.java Wed May 27 22:34:43 2009 -0700 64.3 @@ -27,7 +27,7 @@ 64.4 * @summary implement "metadata" (attribute interfaces and program annotations) 64.5 * @author gafter 64.6 * 64.7 - * @compile/fail -source 1.5 Z16.java 64.8 + * @compile/fail Z16.java 64.9 */ 64.10 64.11 enum Color { red, green, blue }
65.1 --- a/test/tools/javac/annotations/neg/Z2.java Thu May 21 10:56:36 2009 +0100 65.2 +++ b/test/tools/javac/annotations/neg/Z2.java Wed May 27 22:34:43 2009 -0700 65.3 @@ -27,7 +27,7 @@ 65.4 * @summary implement "metadata" (attribute interfaces and program annotations) 65.5 * @author gafter 65.6 * 65.7 - * @compile/fail -source 1.5 Z2.java 65.8 + * @compile/fail Z2.java 65.9 */ 65.10 65.11 enum Color { red, green, blue }
66.1 --- a/test/tools/javac/annotations/neg/Z3.java Thu May 21 10:56:36 2009 +0100 66.2 +++ b/test/tools/javac/annotations/neg/Z3.java Wed May 27 22:34:43 2009 -0700 66.3 @@ -27,7 +27,7 @@ 66.4 * @summary implement "metadata" (attribute interfaces and program annotations) 66.5 * @author gafter 66.6 * 66.7 - * @compile/fail -source 1.5 Z3.java 66.8 + * @compile/fail Z3.java 66.9 */ 66.10 66.11 enum Color { red, green, blue }
67.1 --- a/test/tools/javac/annotations/neg/Z4.java Thu May 21 10:56:36 2009 +0100 67.2 +++ b/test/tools/javac/annotations/neg/Z4.java Wed May 27 22:34:43 2009 -0700 67.3 @@ -27,7 +27,7 @@ 67.4 * @summary implement "metadata" (attribute interfaces and program annotations) 67.5 * @author gafter 67.6 * 67.7 - * @compile/fail -source 1.5 Z4.java 67.8 + * @compile/fail Z4.java 67.9 */ 67.10 67.11 enum Color { red, green, blue }
68.1 --- a/test/tools/javac/annotations/neg/Z5.java Thu May 21 10:56:36 2009 +0100 68.2 +++ b/test/tools/javac/annotations/neg/Z5.java Wed May 27 22:34:43 2009 -0700 68.3 @@ -27,7 +27,7 @@ 68.4 * @summary implement "metadata" (attribute interfaces and program annotations) 68.5 * @author gafter 68.6 * 68.7 - * @compile/fail -source 1.5 Z5.java 68.8 + * @compile/fail Z5.java 68.9 */ 68.10 68.11 interface Foo {}
69.1 --- a/test/tools/javac/annotations/neg/Z8.java Thu May 21 10:56:36 2009 +0100 69.2 +++ b/test/tools/javac/annotations/neg/Z8.java Wed May 27 22:34:43 2009 -0700 69.3 @@ -27,7 +27,7 @@ 69.4 * @summary implement "metadata" (attribute interfaces and program annotations) 69.5 * @author gafter 69.6 * 69.7 - * @compile/fail -source 1.5 Z8.java 69.8 + * @compile/fail Z8.java 69.9 */ 69.10 69.11 @interface An {
70.1 --- a/test/tools/javac/annotations/neg/Z9.java Thu May 21 10:56:36 2009 +0100 70.2 +++ b/test/tools/javac/annotations/neg/Z9.java Wed May 27 22:34:43 2009 -0700 70.3 @@ -27,7 +27,7 @@ 70.4 * @summary implement "metadata" (attribute interfaces and program annotations) 70.5 * @author gafter 70.6 * 70.7 - * @compile/fail -source 1.5 Z9.java 70.8 + * @compile/fail Z9.java 70.9 */ 70.10 70.11 @interface An {
71.1 --- a/test/tools/javac/annotations/pos/AnnoteElideBraces.java Thu May 21 10:56:36 2009 +0100 71.2 +++ b/test/tools/javac/annotations/pos/AnnoteElideBraces.java Wed May 27 22:34:43 2009 -0700 71.3 @@ -27,7 +27,7 @@ 71.4 * @summary JSR175 (15): single element array annotation value 71.5 * @author gafter 71.6 * 71.7 - * @compile -source 1.5 AnnoteElideBraces.java 71.8 + * @compile AnnoteElideBraces.java 71.9 */ 71.10 71.11 @interface D {
72.1 --- a/test/tools/javac/annotations/pos/ClassA.java Thu May 21 10:56:36 2009 +0100 72.2 +++ b/test/tools/javac/annotations/pos/ClassA.java Wed May 27 22:34:43 2009 -0700 72.3 @@ -27,8 +27,8 @@ 72.4 * @summary javac crash loading class files containing Class-valued annotation fields 72.5 * @author gafter 72.6 * 72.7 - * @compile -source 1.5 ClassA.java ClassB.java 72.8 - * @compile -source 1.5 ClassB.java 72.9 + * @compile ClassA.java ClassB.java 72.10 + * @compile ClassB.java 72.11 */ 72.12 72.13 @interface ClassA {
73.1 --- a/test/tools/javac/annotations/pos/Dep.java Thu May 21 10:56:36 2009 +0100 73.2 +++ b/test/tools/javac/annotations/pos/Dep.java Wed May 27 22:34:43 2009 -0700 73.3 @@ -27,7 +27,7 @@ 73.4 * @summary Please add annotation <at>Deprecated to supplant the javadoc tag 73.5 * @author gafter 73.6 * 73.7 - * @compile -source 1.5 -Xlint:dep-ann -Werror Dep.java 73.8 + * @compile -Xlint:dep-ann -Werror Dep.java 73.9 */ 73.10 73.11 /** @deprecated */
74.1 --- a/test/tools/javac/annotations/pos/Enum1.java Thu May 21 10:56:36 2009 +0100 74.2 +++ b/test/tools/javac/annotations/pos/Enum1.java Wed May 27 22:34:43 2009 -0700 74.3 @@ -27,7 +27,7 @@ 74.4 * @summary JSR175: annotations on enum constant 74.5 * @author gafter 74.6 * 74.7 - * @compile -source 1.5 Enum1.java 74.8 + * @compile Enum1.java 74.9 */ 74.10 74.11 package annotation.enums;
75.1 --- a/test/tools/javac/annotations/pos/Local.java Thu May 21 10:56:36 2009 +0100 75.2 +++ b/test/tools/javac/annotations/pos/Local.java Wed May 27 22:34:43 2009 -0700 75.3 @@ -27,7 +27,7 @@ 75.4 * @summary local variable annotations 75.5 * @author gafter 75.6 * 75.7 - * @compile -source 1.5 Local.java 75.8 + * @compile Local.java 75.9 */ 75.10 75.11 class Local {
76.1 --- a/test/tools/javac/annotations/pos/Members.java Thu May 21 10:56:36 2009 +0100 76.2 +++ b/test/tools/javac/annotations/pos/Members.java Wed May 27 22:34:43 2009 -0700 76.3 @@ -27,7 +27,7 @@ 76.4 * @summary annotation types may contain constants, types 76.5 * @author gafter 76.6 * 76.7 - * @compile -source 1.5 Members.java 76.8 + * @compile Members.java 76.9 */ 76.10 76.11 package members;
77.1 --- a/test/tools/javac/annotations/pos/NType.java Thu May 21 10:56:36 2009 +0100 77.2 +++ b/test/tools/javac/annotations/pos/NType.java Wed May 27 22:34:43 2009 -0700 77.3 @@ -27,7 +27,7 @@ 77.4 * @summary compiler crash if annotation using an enum type defined inside the annotation 77.5 * @author gafter 77.6 * 77.7 - * @compile -source 1.5 NType.java 77.8 + * @compile NType.java 77.9 */ 77.10 77.11 package ntype;
78.1 --- a/test/tools/javac/annotations/pos/OverrideCheck.java Thu May 21 10:56:36 2009 +0100 78.2 +++ b/test/tools/javac/annotations/pos/OverrideCheck.java Wed May 27 22:34:43 2009 -0700 78.3 @@ -27,7 +27,7 @@ 78.4 * @summary crash in annotation class file reader 78.5 * @author gafter 78.6 * 78.7 - * @compile -source 1.5 OverrideCheck.java 78.8 + * @compile OverrideCheck.java 78.9 */ 78.10 78.11 class OverrideCheck {
79.1 --- a/test/tools/javac/annotations/pos/OverrideOK.java Thu May 21 10:56:36 2009 +0100 79.2 +++ b/test/tools/javac/annotations/pos/OverrideOK.java Wed May 27 22:34:43 2009 -0700 79.3 @@ -27,7 +27,7 @@ 79.4 * @summary JSR175 (7): implement <at>Overrides 79.5 * @author gafter 79.6 * 79.7 - * @compile -source 1.5 OverrideOK.java 79.8 + * @compile OverrideOK.java 79.9 */ 79.10 79.11 package overrideOK;
80.1 --- a/test/tools/javac/annotations/pos/Parameter.java Thu May 21 10:56:36 2009 +0100 80.2 +++ b/test/tools/javac/annotations/pos/Parameter.java Wed May 27 22:34:43 2009 -0700 80.3 @@ -27,7 +27,7 @@ 80.4 * @summary JSR175: Parameter annotations 80.5 * @author gafter 80.6 * 80.7 - * @compile -source 1.5 Parameter.java 80.8 + * @compile Parameter.java 80.9 */ 80.10 80.11 package annotation.parameter;
81.1 --- a/test/tools/javac/annotations/pos/Primitives.java Thu May 21 10:56:36 2009 +0100 81.2 +++ b/test/tools/javac/annotations/pos/Primitives.java Wed May 27 22:34:43 2009 -0700 81.3 @@ -26,9 +26,6 @@ 81.4 * @bug 5034991 5040842 5040853 81.5 * @summary Modify class-file representation of Class-valued annotation elements 81.6 * @author gafter 81.7 - * 81.8 - * @compile -source 1.5 Primitives.java 81.9 - * @run main Primitives 81.10 */ 81.11 81.12 public class Primitives {
82.1 --- a/test/tools/javac/annotations/pos/RightTarget.java Thu May 21 10:56:36 2009 +0100 82.2 +++ b/test/tools/javac/annotations/pos/RightTarget.java Wed May 27 22:34:43 2009 -0700 82.3 @@ -27,7 +27,7 @@ 82.4 * @summary java.lang.annotation.Target 82.5 * @author gafter 82.6 * 82.7 - * @compile -source 1.5 RightTarget.java 82.8 + * @compile RightTarget.java 82.9 */ 82.10 82.11 import java.lang.annotation.ElementType;
83.1 --- a/test/tools/javac/annotations/pos/Z1.java Thu May 21 10:56:36 2009 +0100 83.2 +++ b/test/tools/javac/annotations/pos/Z1.java Wed May 27 22:34:43 2009 -0700 83.3 @@ -27,7 +27,7 @@ 83.4 * @summary implement "metadata" (attribute interfaces and program annotations) 83.5 * @author gafter 83.6 * 83.7 - * @compile -source 1.5 Z1.java 83.8 + * @compile Z1.java 83.9 */ 83.10 83.11 enum Color { red, green, blue }
84.1 --- a/test/tools/javac/annotations/pos/Z2.java Thu May 21 10:56:36 2009 +0100 84.2 +++ b/test/tools/javac/annotations/pos/Z2.java Wed May 27 22:34:43 2009 -0700 84.3 @@ -27,7 +27,7 @@ 84.4 * @summary implement "metadata" (attribute interfaces and program annotations) 84.5 * @author gafter 84.6 * 84.7 - * @compile -source 1.5 Z2.java 84.8 + * @compile Z2.java 84.9 */ 84.10 84.11 enum Color { red, green, blue }
85.1 --- a/test/tools/javac/annotations/pos/Z3.java Thu May 21 10:56:36 2009 +0100 85.2 +++ b/test/tools/javac/annotations/pos/Z3.java Wed May 27 22:34:43 2009 -0700 85.3 @@ -27,7 +27,7 @@ 85.4 * @summary implement "metadata" (attribute interfaces and program annotations) 85.5 * @author gafter 85.6 * 85.7 - * @compile -source 1.5 Z3.java 85.8 + * @compile Z3.java 85.9 */ 85.10 85.11 enum Color { red, green, blue }
86.1 --- a/test/tools/javac/annotations/pos/Z4.java Thu May 21 10:56:36 2009 +0100 86.2 +++ b/test/tools/javac/annotations/pos/Z4.java Wed May 27 22:34:43 2009 -0700 86.3 @@ -27,7 +27,7 @@ 86.4 * @summary implement "metadata" (attribute interfaces and program annotations) 86.5 * @author gafter 86.6 * 86.7 - * @compile -source 1.5 Z4.java 86.8 + * @compile Z4.java 86.9 */ 86.10 86.11 @interface An {
87.1 --- a/test/tools/javac/annotations/pos/package-info.java Thu May 21 10:56:36 2009 +0100 87.2 +++ b/test/tools/javac/annotations/pos/package-info.java Wed May 27 22:34:43 2009 -0700 87.3 @@ -27,7 +27,7 @@ 87.4 * @summary Package annotations 87.5 * @author gafter 87.6 * 87.7 - * @compile -source 1.5 package-info.java 87.8 + * @compile package-info.java 87.9 */ 87.10 87.11 @java.lang.annotation.Documented
88.1 --- a/test/tools/javac/assert/Attach.java Thu May 21 10:56:36 2009 +0100 88.2 +++ b/test/tools/javac/assert/Attach.java Wed May 27 22:34:43 2009 -0700 88.3 @@ -26,9 +26,6 @@ 88.4 * @bug 4478095 88.5 * @summary assertion flag attached to wrong class 88.6 * @author gafter 88.7 - * 88.8 - * @compile -source 1.4 Attach.java 88.9 - * @run main Attach 88.10 */ 88.11 88.12 public class Attach {
89.1 --- a/test/tools/javac/assert/DU1.java Thu May 21 10:56:36 2009 +0100 89.2 +++ b/test/tools/javac/assert/DU1.java Wed May 27 22:34:43 2009 -0700 89.3 @@ -27,7 +27,7 @@ 89.4 * @summary Check correct DU computation for assertions. 89.5 * @author gafter 89.6 * 89.7 - * @compile/fail -source 1.4 DU1.java 89.8 + * @compile/fail DU1.java 89.9 */ 89.10 89.11 class DU1 {
90.1 --- a/test/tools/javac/assert/DU2.java Thu May 21 10:56:36 2009 +0100 90.2 +++ b/test/tools/javac/assert/DU2.java Wed May 27 22:34:43 2009 -0700 90.3 @@ -27,7 +27,7 @@ 90.4 * @summary Check correct DU computation for assertions. 90.5 * @author gafter 90.6 * 90.7 - * @compile/fail -source 1.4 DU2.java 90.8 + * @compile/fail DU2.java 90.9 */ 90.10 90.11 class DU2 {
91.1 --- a/test/tools/javac/assert/Position.java Thu May 21 10:56:36 2009 +0100 91.2 +++ b/test/tools/javac/assert/Position.java Wed May 27 22:34:43 2009 -0700 91.3 @@ -3,17 +3,17 @@ 91.4 * @bug 4469737 91.5 * @summary Verify the source position for assertions. 91.6 * @author gafter 91.7 - * 91.8 - * @compile -source 1.4 Position.java 91.9 - * @run main Position 91.10 */ 91.11 91.12 + 91.13 public class Position { 91.14 static public void main(String[] args) { 91.15 Position.class.getClassLoader().setClassAssertionStatus("U", true); 91.16 new U().main(); 91.17 } 91.18 } 91.19 + 91.20 + 91.21 class U { 91.22 void main() { 91.23 try {
92.1 --- a/test/tools/javac/boxing/BoxedForeach.java Thu May 21 10:56:36 2009 +0100 92.2 +++ b/test/tools/javac/boxing/BoxedForeach.java Wed May 27 22:34:43 2009 -0700 92.3 @@ -27,7 +27,7 @@ 92.4 * @summary boxing/unboxing versus foreach crashes javac 92.5 * @author gafter 92.6 * 92.7 - * @compile -source 1.5 BoxedForeach.java 92.8 + * @compile BoxedForeach.java 92.9 * @run main BoxedForeach 92.10 */ 92.11
93.1 --- a/test/tools/javac/boxing/Boxing1.java Thu May 21 10:56:36 2009 +0100 93.2 +++ b/test/tools/javac/boxing/Boxing1.java Wed May 27 22:34:43 2009 -0700 93.3 @@ -26,9 +26,6 @@ 93.4 * @bug 4869233 4872709 4868735 4921949 4921209 4965701 4934916 4975565 4974939 93.5 * @summary Boxing/unboxing positive unit and regression tests 93.6 * @author gafter 93.7 - * 93.8 - * @compile -source 1.5 Boxing1.java 93.9 - * @run main Boxing1 93.10 */ 93.11 93.12 public class Boxing1 {
94.1 --- a/test/tools/javac/boxing/Boxing2.java Thu May 21 10:56:36 2009 +0100 94.2 +++ b/test/tools/javac/boxing/Boxing2.java Wed May 27 22:34:43 2009 -0700 94.3 @@ -27,7 +27,7 @@ 94.4 * @summary Boxing/unboxing negative unit and regression tests 94.5 * @author gafter 94.6 * 94.7 - * @compile/fail -source 1.5 Boxing2.java 94.8 + * @compile/fail Boxing2.java 94.9 */ 94.10 94.11 public class Boxing2 {
95.1 --- a/test/tools/javac/boxing/Boxing4.java Thu May 21 10:56:36 2009 +0100 95.2 +++ b/test/tools/javac/boxing/Boxing4.java Wed May 27 22:34:43 2009 -0700 95.3 @@ -26,9 +26,6 @@ 95.4 * @bug 4999689 95.5 * @summary Compiler incorrectly create Integer in "Character c = 95" 95.6 * @author gafter 95.7 - * 95.8 - * @compile -source 1.5 Boxing4.java 95.9 - * @run main Boxing4 95.10 */ 95.11 95.12 public class Boxing4 {
96.1 --- a/test/tools/javac/boxing/BoxingCaching.java Thu May 21 10:56:36 2009 +0100 96.2 +++ b/test/tools/javac/boxing/BoxingCaching.java Wed May 27 22:34:43 2009 -0700 96.3 @@ -26,9 +26,6 @@ 96.4 * @bug 4990346 96.5 * @summary Verify autoboxed values are cached as required. 96.6 * @author Joseph D. Darcy 96.7 - * 96.8 - * @compile -source 1.5 BoxingCaching.java 96.9 - * @run main BoxingCaching 96.10 */ 96.11 96.12 public class BoxingCaching {
97.1 --- a/test/tools/javac/capture/Capture1.java Thu May 21 10:56:36 2009 +0100 97.2 +++ b/test/tools/javac/capture/Capture1.java Wed May 27 22:34:43 2009 -0700 97.3 @@ -27,7 +27,7 @@ 97.4 * @summary wildcard capture (snapshotting) 97.5 * @author gafter 97.6 * 97.7 - * @compile -Xlint:unchecked -Werror -source 1.5 Capture1.java 97.8 + * @compile -Xlint:unchecked -Werror Capture1.java 97.9 */ 97.10 97.11 package capture1;
98.1 --- a/test/tools/javac/capture/Capture2.java Thu May 21 10:56:36 2009 +0100 98.2 +++ b/test/tools/javac/capture/Capture2.java Wed May 27 22:34:43 2009 -0700 98.3 @@ -27,7 +27,7 @@ 98.4 * @summary soundness problem with failure to subsitute wildcard as type formal argument 98.5 * @author gafter 98.6 * 98.7 - * @compile/fail -source 1.5 Capture2.java 98.8 + * @compile/fail Capture2.java 98.9 */ 98.10 98.11 package capture2;
99.1 --- a/test/tools/javac/capture/Capture3.java Thu May 21 10:56:36 2009 +0100 99.2 +++ b/test/tools/javac/capture/Capture3.java Wed May 27 22:34:43 2009 -0700 99.3 @@ -27,7 +27,7 @@ 99.4 * @summary new wildcard subst scheme breaks java.lang.ref 99.5 * @author gafter 99.6 * 99.7 - * @compile -source 1.5 Capture3.java 99.8 + * @compile Capture3.java 99.9 */ 99.10 99.11 package capture3;
100.1 --- a/test/tools/javac/capture/Capture5.java Thu May 21 10:56:36 2009 +0100 100.2 +++ b/test/tools/javac/capture/Capture5.java Wed May 27 22:34:43 2009 -0700 100.3 @@ -27,7 +27,7 @@ 100.4 * @summary wildcards versus recursive F-bounds 100.5 * @author Peter von der Ahe 100.6 * 100.7 - * @compile -source 1.5 Capture5.java 100.8 + * @compile Capture5.java 100.9 */ 100.10 100.11 package capture5;
101.1 --- a/test/tools/javac/cast/BoxedArray.java Thu May 21 10:56:36 2009 +0100 101.2 +++ b/test/tools/javac/cast/BoxedArray.java Wed May 27 22:34:43 2009 -0700 101.3 @@ -27,7 +27,7 @@ 101.4 * @summary REGRESSION: compiler allows cast from Integer[] to int[] 101.5 * @author gafter 101.6 * 101.7 - * @compile/fail -source 1.5 BoxedArray.java 101.8 + * @compile/fail BoxedArray.java 101.9 */ 101.10 101.11 public class BoxedArray {
102.1 --- a/test/tools/javac/enum/AbstractEmptyEnum.java Thu May 21 10:56:36 2009 +0100 102.2 +++ b/test/tools/javac/enum/AbstractEmptyEnum.java Wed May 27 22:34:43 2009 -0700 102.3 @@ -27,7 +27,7 @@ 102.4 * @summary empty enum cannot be abstract 102.5 * @author Joseph D. Darcy 102.6 * 102.7 - * @compile/fail -source 1.5 AbstractEmptyEnum.java 102.8 + * @compile/fail AbstractEmptyEnum.java 102.9 */ 102.10 102.11 public enum AbstractEmptyEnum {
103.1 --- a/test/tools/javac/enum/AbstractEnum1.java Thu May 21 10:56:36 2009 +0100 103.2 +++ b/test/tools/javac/enum/AbstractEnum1.java Wed May 27 22:34:43 2009 -0700 103.3 @@ -26,9 +26,6 @@ 103.4 * @bug 5054976 103.5 * @summary compiler fails to flag an enum abstract 103.6 * @author gafter 103.7 - * 103.8 - * @compile -source 1.5 AbstractEnum1.java 103.9 - * @run main AbstractEnum1 103.10 */ 103.11 103.12 import java.lang.reflect.Modifier;
104.1 --- a/test/tools/javac/enum/DA1.java Thu May 21 10:56:36 2009 +0100 104.2 +++ b/test/tools/javac/enum/DA1.java Wed May 27 22:34:43 2009 -0700 104.3 @@ -27,7 +27,7 @@ 104.4 * @summary One can refer static, const static variables from instance initializers of enum 104.5 * @author gafter 104.6 * 104.7 - * @compile/fail -source 1.5 DA1.java 104.8 + * @compile/fail DA1.java 104.9 */ 104.10 104.11 package da1;
105.1 --- a/test/tools/javac/enum/DA2.java Thu May 21 10:56:36 2009 +0100 105.2 +++ b/test/tools/javac/enum/DA2.java Wed May 27 22:34:43 2009 -0700 105.3 @@ -27,7 +27,7 @@ 105.4 * @summary One can refer static, const static variables from instance initializers of enum 105.5 * @author gafter 105.6 * 105.7 - * @compile/fail -source 1.5 DA2.java 105.8 + * @compile/fail DA2.java 105.9 */ 105.10 105.11 package da2;
106.1 --- a/test/tools/javac/enum/DA3.java Thu May 21 10:56:36 2009 +0100 106.2 +++ b/test/tools/javac/enum/DA3.java Wed May 27 22:34:43 2009 -0700 106.3 @@ -27,7 +27,7 @@ 106.4 * @summary One can refer static, const static variables from instance initializers of enum 106.5 * @author gafter 106.6 * 106.7 - * @compile/fail -source 1.5 DA3.java 106.8 + * @compile/fail DA3.java 106.9 */ 106.10 106.11 package da3;
107.1 --- a/test/tools/javac/enum/Def.java Thu May 21 10:56:36 2009 +0100 107.2 +++ b/test/tools/javac/enum/Def.java Wed May 27 22:34:43 2009 -0700 107.3 @@ -27,7 +27,7 @@ 107.4 * @summary constant static fields cannot be referenced from const, instance initializers 107.5 * @author gafter 107.6 * 107.7 - * @compile -source 1.5 Def.java 107.8 + * @compile Def.java 107.9 */ 107.10 107.11 package _enum.def;
108.1 --- a/test/tools/javac/enum/Enum1.java Thu May 21 10:56:36 2009 +0100 108.2 +++ b/test/tools/javac/enum/Enum1.java Wed May 27 22:34:43 2009 -0700 108.3 @@ -26,9 +26,6 @@ 108.4 * @bug 4945532 108.5 * @summary enums: test output of values().toString() 108.6 * @author gafter 108.7 - * 108.8 - * @compile -source 1.5 Enum1.java 108.9 - * @run main Enum1 108.10 */ 108.11 108.12 import java.util.*;
109.1 --- a/test/tools/javac/enum/Enum2.java Thu May 21 10:56:36 2009 +0100 109.2 +++ b/test/tools/javac/enum/Enum2.java Wed May 27 22:34:43 2009 -0700 109.3 @@ -26,7 +26,7 @@ 109.4 * @summary enums: an enumeration type may not be extended 109.5 * @author gafter 109.6 * 109.7 - * @compile/fail -source 1.5 Enum2.java 109.8 + * @compile/fail Enum2.java 109.9 */ 109.10 109.11 public class Enum2 {
110.1 --- a/test/tools/javac/enum/Enum3.java Thu May 21 10:56:36 2009 +0100 110.2 +++ b/test/tools/javac/enum/Enum3.java Wed May 27 22:34:43 2009 -0700 110.3 @@ -26,9 +26,6 @@ 110.4 * @bug 4945532 110.5 * @summary enums: test switch 110.6 * @author gafter 110.7 - * 110.8 - * @compile -source 1.5 Enum3.java 110.9 - * @run main Enum3 110.10 */ 110.11 110.12 public enum Enum3 {
111.1 --- a/test/tools/javac/enum/EnumImplicitPrivateConstructor.java Thu May 21 10:56:36 2009 +0100 111.2 +++ b/test/tools/javac/enum/EnumImplicitPrivateConstructor.java Wed May 27 22:34:43 2009 -0700 111.3 @@ -26,9 +26,6 @@ 111.4 * @bug 5009601 5010455 5005748 111.5 * @summary enum constructors can be declared private 111.6 * @author Joseph D. Darcy 111.7 - * 111.8 - * @compile -source 1.5 EnumImplicitPrivateConstructor.java 111.9 - * @run main EnumImplicitPrivateConstructor 111.10 */ 111.11 111.12 import java.util.*;
112.1 --- a/test/tools/javac/enum/EnumInit.java Thu May 21 10:56:36 2009 +0100 112.2 +++ b/test/tools/javac/enum/EnumInit.java Wed May 27 22:34:43 2009 -0700 112.3 @@ -27,7 +27,7 @@ 112.4 * @summary compiling annatations with nested enums issuing *.java leads to crash 112.5 * @author gafter 112.6 * 112.7 - * @compile -source 1.5 EnumInit.java 112.8 + * @compile EnumInit.java 112.9 */ 112.10 112.11 package enum_init_;
113.1 --- a/test/tools/javac/enum/EnumPrivateConstructor.java Thu May 21 10:56:36 2009 +0100 113.2 +++ b/test/tools/javac/enum/EnumPrivateConstructor.java Wed May 27 22:34:43 2009 -0700 113.3 @@ -27,7 +27,7 @@ 113.4 * @summary enum constructors can be declared private 113.5 * @author Joseph D. Darcy 113.6 * 113.7 - * @compile -source 1.5 EnumPrivateConstructor.java 113.8 + * @compile EnumPrivateConstructor.java 113.9 */ 113.10 113.11 enum EnumPrivateConstructor {
114.1 --- a/test/tools/javac/enum/EnumProtectedConstructor.java Thu May 21 10:56:36 2009 +0100 114.2 +++ b/test/tools/javac/enum/EnumProtectedConstructor.java Wed May 27 22:34:43 2009 -0700 114.3 @@ -27,7 +27,7 @@ 114.4 * @summary enum constructors cannot be declared public or protected 114.5 * @author Joseph D. Darcy 114.6 * 114.7 - * @compile/fail -source 1.5 EnumProtectedConstructor.java 114.8 + * @compile/fail EnumProtectedConstructor.java 114.9 */ 114.10 114.11 enum EnumProtectedConstructor {
115.1 --- a/test/tools/javac/enum/EnumPublicConstructor.java Thu May 21 10:56:36 2009 +0100 115.2 +++ b/test/tools/javac/enum/EnumPublicConstructor.java Wed May 27 22:34:43 2009 -0700 115.3 @@ -27,7 +27,7 @@ 115.4 * @summary enum constructors cannot be declared public or protected 115.5 * @author Joseph D. Darcy 115.6 * 115.7 - * @compile/fail -source 1.5 EnumPublicConstructor.java 115.8 + * @compile/fail EnumPublicConstructor.java 115.9 */ 115.10 115.11 enum EnumPublicConstructor {
116.1 --- a/test/tools/javac/enum/EnumSwitch1.java Thu May 21 10:56:36 2009 +0100 116.2 +++ b/test/tools/javac/enum/EnumSwitch1.java Wed May 27 22:34:43 2009 -0700 116.3 @@ -27,7 +27,7 @@ 116.4 * @summary enum switch case labels required to be unqualified. 116.5 * @author gafter 116.6 * 116.7 - * @compile -source 1.5 EnumSwitch1.java 116.8 + * @compile EnumSwitch1.java 116.9 */ 116.10 116.11 package enumswitch1;
117.1 --- a/test/tools/javac/enum/EnumSwitch2.java Thu May 21 10:56:36 2009 +0100 117.2 +++ b/test/tools/javac/enum/EnumSwitch2.java Wed May 27 22:34:43 2009 -0700 117.3 @@ -27,7 +27,7 @@ 117.4 * @summary enum switch case labels required to be unqualified. 117.5 * @author gafter 117.6 * 117.7 - * @compile/fail -source 1.5 EnumSwitch2.java 117.8 + * @compile/fail EnumSwitch2.java 117.9 */ 117.10 117.11 package enumswitch2;
118.1 --- a/test/tools/javac/enum/EnumSwitch3.java Thu May 21 10:56:36 2009 +0100 118.2 +++ b/test/tools/javac/enum/EnumSwitch3.java Wed May 27 22:34:43 2009 -0700 118.3 @@ -27,7 +27,7 @@ 118.4 * @summary javac crash when enum defined after use 118.5 * @author gafter 118.6 * 118.7 - * @compile -source 1.5 EnumSwitch3.java 118.8 + * @compile EnumSwitch3.java 118.9 */ 118.10 118.11 package enumswitch3;
119.1 --- a/test/tools/javac/enum/EnumSwitch4.java Thu May 21 10:56:36 2009 +0100 119.2 +++ b/test/tools/javac/enum/EnumSwitch4.java Wed May 27 22:34:43 2009 -0700 119.3 @@ -26,9 +26,6 @@ 119.4 * @bug 5006662 119.5 * @summary enum switch on null fails to throw NullPointerException 119.6 * @author gafter 119.7 - * 119.8 - * @compile -source 1.5 EnumSwitch4.java 119.9 - * @run main EnumSwitch4 119.10 */ 119.11 119.12 public enum EnumSwitch4 {
120.1 --- a/test/tools/javac/enum/ExplicitlyAbstractEnum1.java Thu May 21 10:56:36 2009 +0100 120.2 +++ b/test/tools/javac/enum/ExplicitlyAbstractEnum1.java Wed May 27 22:34:43 2009 -0700 120.3 @@ -27,7 +27,7 @@ 120.4 * @summary enum's cannot be explicitly declared abstract 120.5 * @author Joseph D. Darcy 120.6 * 120.7 - * @compile/fail -source 1.5 ExplicitlyAbstractEnum1.java 120.8 + * @compile/fail ExplicitlyAbstractEnum1.java 120.9 */ 120.10 120.11 abstract enum ExplicitlyAbstractEnum1 {
121.1 --- a/test/tools/javac/enum/ExplicitlyAbstractEnum2.java Thu May 21 10:56:36 2009 +0100 121.2 +++ b/test/tools/javac/enum/ExplicitlyAbstractEnum2.java Wed May 27 22:34:43 2009 -0700 121.3 @@ -27,7 +27,7 @@ 121.4 * @summary enum's cannot be explicitly declared abstract even if they are abstract 121.5 * @author Joseph D. Darcy 121.6 * 121.7 - * @compile/fail -source 1.5 ExplicitlyAbstractEnum2.java 121.8 + * @compile/fail ExplicitlyAbstractEnum2.java 121.9 */ 121.10 121.11 abstract enum ExplicitlyAbstractEnum2 {
122.1 --- a/test/tools/javac/enum/ExplicitlyFinalEnum1.java Thu May 21 10:56:36 2009 +0100 122.2 +++ b/test/tools/javac/enum/ExplicitlyFinalEnum1.java Wed May 27 22:34:43 2009 -0700 122.3 @@ -27,7 +27,7 @@ 122.4 * @summary enum's cannot be explicitly declared final even if they are 122.5 * @author Joseph D. Darcy 122.6 * 122.7 - * @compile/fail -source 1.5 ExplicitlyFinalEnum1.java 122.8 + * @compile/fail ExplicitlyFinalEnum1.java 122.9 */ 122.10 122.11 final enum ExplicitlyFinalEnum1 {
123.1 --- a/test/tools/javac/enum/ExplicitlyFinalEnum2.java Thu May 21 10:56:36 2009 +0100 123.2 +++ b/test/tools/javac/enum/ExplicitlyFinalEnum2.java Wed May 27 22:34:43 2009 -0700 123.3 @@ -27,7 +27,7 @@ 123.4 * @summary enum's cannot be explicitly declared final 123.5 * @author Joseph D. Darcy 123.6 * 123.7 - * @compile/fail -source 1.5 ExplicitlyFinalEnum2.java 123.8 + * @compile/fail ExplicitlyFinalEnum2.java 123.9 */ 123.10 123.11 final enum ExplicitlyFinalEnum2 {
124.1 --- a/test/tools/javac/enum/FauxEnum1.java Thu May 21 10:56:36 2009 +0100 124.2 +++ b/test/tools/javac/enum/FauxEnum1.java Wed May 27 22:34:43 2009 -0700 124.3 @@ -27,7 +27,7 @@ 124.4 * @summary verify java.lang.Enum can't be directly subclassed 124.5 * @author Joseph D. Darcy 124.6 * 124.7 - * @compile/fail -source 1.5 FauxEnum1.java 124.8 + * @compile/fail FauxEnum1.java 124.9 */ 124.10 124.11 public class FauxEnum1 extends java.lang.Enum {
125.1 --- a/test/tools/javac/enum/FauxEnum3.java Thu May 21 10:56:36 2009 +0100 125.2 +++ b/test/tools/javac/enum/FauxEnum3.java Wed May 27 22:34:43 2009 -0700 125.3 @@ -27,7 +27,7 @@ 125.4 * @summary verify an enum type can't be directly subclassed 125.5 * @author Joseph D. Darcy 125.6 * 125.7 - * @compile/fail -source 1.5 FauxEnum3.java 125.8 + * @compile/fail FauxEnum3.java 125.9 */ 125.10 125.11 public class FauxEnum3 extends SpecializedEnum {
126.1 --- a/test/tools/javac/enum/FauxSpecialEnum1.java Thu May 21 10:56:36 2009 +0100 126.2 +++ b/test/tools/javac/enum/FauxSpecialEnum1.java Wed May 27 22:34:43 2009 -0700 126.3 @@ -27,7 +27,7 @@ 126.4 * @summary verify specialized enum classes can't be abstract 126.5 * @author Joseph D. Darcy 126.6 * 126.7 - * @compile/fail -source 1.5 FauxSpecialEnum1.java 126.8 + * @compile/fail FauxSpecialEnum1.java 126.9 */ 126.10 126.11 public enum FauxSpecialEnum1 {
127.1 --- a/test/tools/javac/enum/FauxSpecialEnum2.java Thu May 21 10:56:36 2009 +0100 127.2 +++ b/test/tools/javac/enum/FauxSpecialEnum2.java Wed May 27 22:34:43 2009 -0700 127.3 @@ -27,7 +27,7 @@ 127.4 * @summary verify specialized enum classes can't be abstract 127.5 * @author Joseph D. Darcy 127.6 * 127.7 - * @compile/fail -source 1.5 FauxSpecialEnum2.java 127.8 + * @compile/fail FauxSpecialEnum2.java 127.9 */ 127.10 127.11 public enum FauxSpecialEnum2 {
128.1 --- a/test/tools/javac/enum/LocalEnum.java Thu May 21 10:56:36 2009 +0100 128.2 +++ b/test/tools/javac/enum/LocalEnum.java Wed May 27 22:34:43 2009 -0700 128.3 @@ -27,7 +27,7 @@ 128.4 * @summary javac fails to reject local enums 128.5 * @author gafter 128.6 * 128.7 - * @compile/fail -source 1.5 LocalEnum.java 128.8 + * @compile/fail LocalEnum.java 128.9 */ 128.10 128.11 public class LocalEnum {
129.1 --- a/test/tools/javac/enum/NoFinal.java Thu May 21 10:56:36 2009 +0100 129.2 +++ b/test/tools/javac/enum/NoFinal.java Wed May 27 22:34:43 2009 -0700 129.3 @@ -26,7 +26,7 @@ 129.4 * @bug 5097250 5087624 129.5 * @summary Finalize methods on enums must be compile time error 129.6 * @author Peter von der Ah\u00e9 129.7 - * @compile/fail -source 5 NoFinal.java 129.8 + * @compile/fail NoFinal.java 129.9 */ 129.10 129.11 enum NoFinal {
130.1 --- a/test/tools/javac/enum/NoFinal2.java Thu May 21 10:56:36 2009 +0100 130.2 +++ b/test/tools/javac/enum/NoFinal2.java Wed May 27 22:34:43 2009 -0700 130.3 @@ -26,7 +26,7 @@ 130.4 * @bug 5097250 5087624 130.5 * @summary Finalize methods on enums must be compile time error 130.6 * @author Peter von der Ah\u00e9 130.7 - * @compile/fail -source 5 NoFinal2.java 130.8 + * @compile/fail NoFinal2.java 130.9 */ 130.10 130.11 enum NoFinal2 {
131.1 --- a/test/tools/javac/enum/NoFinal3.java Thu May 21 10:56:36 2009 +0100 131.2 +++ b/test/tools/javac/enum/NoFinal3.java Wed May 27 22:34:43 2009 -0700 131.3 @@ -26,7 +26,7 @@ 131.4 * @bug 5097250 5087624 131.5 * @summary Finalize methods on enums must be compile time error 131.6 * @author Peter von der Ah\u00e9 131.7 - * @compile/fail -source 5 NoFinal3.java 131.8 + * @compile/fail NoFinal3.java 131.9 */ 131.10 131.11 enum NoFinal3 {
132.1 --- a/test/tools/javac/enum/NoFinal4.java Thu May 21 10:56:36 2009 +0100 132.2 +++ b/test/tools/javac/enum/NoFinal4.java Wed May 27 22:34:43 2009 -0700 132.3 @@ -26,7 +26,7 @@ 132.4 * @bug 5097250 5087624 132.5 * @summary Finalize methods on enums must be compile time error 132.6 * @author Peter von der Ah\u00e9 132.7 - * @compile/fail -source 5 NoFinal4.java 132.8 + * @compile/fail NoFinal4.java 132.9 */ 132.10 132.11 enum NoFinal4 {
133.1 --- a/test/tools/javac/enum/NoFinal5.java Thu May 21 10:56:36 2009 +0100 133.2 +++ b/test/tools/javac/enum/NoFinal5.java Wed May 27 22:34:43 2009 -0700 133.3 @@ -26,7 +26,7 @@ 133.4 * @bug 5097250 5087624 133.5 * @summary Finalize methods on enums must be compile time error 133.6 * @author Peter von der Ah\u00e9 133.7 - * @compile/fail -source 5 NoFinal5.java 133.8 + * @compile/fail NoFinal5.java 133.9 */ 133.10 133.11 enum NoFinal5 {
134.1 --- a/test/tools/javac/enum/OkFinal.java Thu May 21 10:56:36 2009 +0100 134.2 +++ b/test/tools/javac/enum/OkFinal.java Wed May 27 22:34:43 2009 -0700 134.3 @@ -26,8 +26,6 @@ 134.4 * @bug 5097250 134.5 * @summary Finalize methods on enums must be compile time error 134.6 * @author Peter von der Ah\u00e9 134.7 - * @compile -source 5 OkFinal.java 134.8 - * @run main OkFinal 134.9 */ 134.10 134.11 public enum OkFinal {
135.1 --- a/test/tools/javac/enum/SynthValues.java Thu May 21 10:56:36 2009 +0100 135.2 +++ b/test/tools/javac/enum/SynthValues.java Wed May 27 22:34:43 2009 -0700 135.3 @@ -26,9 +26,6 @@ 135.4 * @bug 4984627 135.5 * @summary Enums: +VALUES field has no synthetic attribute 135.6 * @author gafter 135.7 - * 135.8 - * @compile -source 1.5 SynthValues.java 135.9 - * @run main SynthValues 135.10 */ 135.11 135.12 public enum SynthValues {
136.1 --- a/test/tools/javac/enum/T5075242.java Thu May 21 10:56:36 2009 +0100 136.2 +++ b/test/tools/javac/enum/T5075242.java Wed May 27 22:34:43 2009 -0700 136.3 @@ -27,7 +27,7 @@ 136.4 * @summary Cannot make compound type involving Enums 136.5 * @author Peter von der Ah\u00e9 136.6 * 136.7 - * @compile -source 5 T5075242.java 136.8 + * @compile T5075242.java 136.9 */ 136.10 136.11 interface Iface {
137.1 --- a/test/tools/javac/enum/T5081785.java Thu May 21 10:56:36 2009 +0100 137.2 +++ b/test/tools/javac/enum/T5081785.java Wed May 27 22:34:43 2009 -0700 137.3 @@ -28,10 +28,10 @@ 137.4 * @summary Empty Enums allowed in non-static contexts 137.5 * @author Peter von der Ah\u00e9 137.6 * 137.7 - * @compile/fail -source 1.5 T5081785.java 137.8 - * @compile/fail -source 1.5 T5081785a.java 137.9 - * @compile/fail -source 1.5 T5081785b.java 137.10 - * @compile/fail -source 1.5 T5081785c.java 137.11 + * @compile/fail T5081785.java 137.12 + * @compile/fail T5081785a.java 137.13 + * @compile/fail T5081785b.java 137.14 + * @compile/fail T5081785c.java 137.15 */ 137.16 137.17 class A {
138.1 --- a/test/tools/javac/enum/TrailingComma.java Thu May 21 10:56:36 2009 +0100 138.2 +++ b/test/tools/javac/enum/TrailingComma.java Wed May 27 22:34:43 2009 -0700 138.3 @@ -27,7 +27,7 @@ 138.4 * @summary enum spec allows trailing comma on enum constant list 138.5 * @author gafter 138.6 * 138.7 - * @compile -source 1.5 TrailingComma.java 138.8 + * @compile TrailingComma.java 138.9 */ 138.10 138.11 class TrailingComma {
139.1 --- a/test/tools/javac/enum/UserValue.java Thu May 21 10:56:36 2009 +0100 139.2 +++ b/test/tools/javac/enum/UserValue.java Wed May 27 22:34:43 2009 -0700 139.3 @@ -27,7 +27,7 @@ 139.4 * @summary compiler crash on user-defined valueOf in enum 139.5 * @author gafter 139.6 * 139.7 - * @compile -source 1.5 UserValue.java 139.8 + * @compile UserValue.java 139.9 */ 139.10 139.11 public enum UserValue {
140.1 --- a/test/tools/javac/enum/ValueOf.java Thu May 21 10:56:36 2009 +0100 140.2 +++ b/test/tools/javac/enum/ValueOf.java Wed May 27 22:34:43 2009 -0700 140.3 @@ -26,9 +26,6 @@ 140.4 * @bug 4872708 5058132 140.5 * @summary Improper signature for valueOf 140.6 * @author gafter 140.7 - * 140.8 - * @compile -source 1.5 ValueOf.java 140.9 - * @run main ValueOf 140.10 */ 140.11 140.12 public enum ValueOf {
141.1 --- a/test/tools/javac/enum/enumSwitch/EnumSwitch.java Thu May 21 10:56:36 2009 +0100 141.2 +++ b/test/tools/javac/enum/enumSwitch/EnumSwitch.java Wed May 27 22:34:43 2009 -0700 141.3 @@ -27,8 +27,8 @@ 141.4 * @summary javac-generated code doesn't obey binary compatibility for enums 141.5 * @author gafter 141.6 * 141.7 - * @compile -source 1.5 EnumSwitch.java 141.8 - * @compile -source 1.5 Color2.java 141.9 + * @compile EnumSwitch.java 141.10 + * @compile Color2.java 141.11 * @run main EnumSwitch 141.12 */ 141.13
142.1 --- a/test/tools/javac/foreach/Foreach.java Thu May 21 10:56:36 2009 +0100 142.2 +++ b/test/tools/javac/foreach/Foreach.java Wed May 27 22:34:43 2009 -0700 142.3 @@ -26,9 +26,6 @@ 142.4 * @bug 4855355 142.5 * @summary implement "foreach" loops as specified in JSR 201 142.6 * @author gafter 142.7 - * 142.8 - * @compile -source 1.5 Foreach.java 142.9 - * @run main Foreach 142.10 */ 142.11 142.12 import java.util.Iterator;
143.1 --- a/test/tools/javac/foreach/GenericIterator.java Thu May 21 10:56:36 2009 +0100 143.2 +++ b/test/tools/javac/foreach/GenericIterator.java Wed May 27 22:34:43 2009 -0700 143.3 @@ -27,7 +27,7 @@ 143.4 * @summary extended 'for' with generic collections causes the compiler to crash 143.5 * @author gafter 143.6 * 143.7 - * @compile -source 1.5 GenericIterator.java 143.8 + * @compile GenericIterator.java 143.9 */ 143.10 143.11 import java.util.*;
144.1 --- a/test/tools/javac/foreach/IntersectIterator.java Thu May 21 10:56:36 2009 +0100 144.2 +++ b/test/tools/javac/foreach/IntersectIterator.java Wed May 27 22:34:43 2009 -0700 144.3 @@ -26,9 +26,6 @@ 144.4 * @bug 5003207 144.5 * @summary new "for" statement fails to cast to second upper bound 144.6 * @author gafter 144.7 - * 144.8 - * @compile -source 1.5 IntersectIterator.java 144.9 - * @run main IntersectIterator 144.10 */ 144.11 144.12 import java.util.*;
145.1 --- a/test/tools/javac/foreach/ListOfListTest.java Thu May 21 10:56:36 2009 +0100 145.2 +++ b/test/tools/javac/foreach/ListOfListTest.java Wed May 27 22:34:43 2009 -0700 145.3 @@ -26,9 +26,6 @@ 145.4 * @bug 4915435 145.5 * @summary NullPointerError in Resolve.findMethod() with foreach vs generics 145.6 * @author gafter 145.7 - * 145.8 - * @compile -source 1.5 ListOfListTest.java 145.9 - * @run main ListOfListTest 145.10 */ 145.11 145.12 import java.util.List;
146.1 --- a/test/tools/javac/foreach/SpecIterable.java Thu May 21 10:56:36 2009 +0100 146.2 +++ b/test/tools/javac/foreach/SpecIterable.java Wed May 27 22:34:43 2009 -0700 146.3 @@ -26,9 +26,6 @@ 146.4 * @bug 4911157 146.5 * @summary Runtime error because of missing method in iterator 146.6 * @author gafter 146.7 - * 146.8 - * @compile -source 1.5 SpecIterable.java 146.9 - * @run main SpecIterable 146.10 */ 146.11 146.12 import java.util.Iterator;
147.1 --- a/test/tools/javac/foreach/StaticBlock.java Thu May 21 10:56:36 2009 +0100 147.2 +++ b/test/tools/javac/foreach/StaticBlock.java Wed May 27 22:34:43 2009 -0700 147.3 @@ -27,7 +27,7 @@ 147.4 * @summary compiler crash (NullPointerException) with foreach in static context 147.5 * @author gafter 147.6 * 147.7 - * @compile -source 1.5 StaticBlock.java 147.8 + * @compile StaticBlock.java 147.9 */ 147.10 147.11 public class StaticBlock {
148.1 --- a/test/tools/javac/foreach/SuperfluousAbstract.java Thu May 21 10:56:36 2009 +0100 148.2 +++ b/test/tools/javac/foreach/SuperfluousAbstract.java Wed May 27 22:34:43 2009 -0700 148.3 @@ -26,9 +26,6 @@ 148.4 * @bug 4912795 148.5 * @summary AbstractMethodError throws if not redeclare abstract iterator() method 148.6 * @author gafter 148.7 - * 148.8 - * @compile -source 1.5 SuperfluousAbstract.java 148.9 - * @run main SuperfluousAbstract 148.10 */ 148.11 148.12 import java.util.AbstractCollection;
149.1 --- a/test/tools/javac/generics/ArrayClone.java Thu May 21 10:56:36 2009 +0100 149.2 +++ b/test/tools/javac/generics/ArrayClone.java Wed May 27 22:34:43 2009 -0700 149.3 @@ -27,7 +27,7 @@ 149.4 * @summary The clone method on arrays should be strongly typed 149.5 * @author gafter 149.6 * 149.7 - * @compile -source 1.5 ArrayClone.java 149.8 + * @compile ArrayClone.java 149.9 * @run main ArrayClone 149.10 */ 149.11
150.1 --- a/test/tools/javac/generics/ArrayTypearg.java Thu May 21 10:56:36 2009 +0100 150.2 +++ b/test/tools/javac/generics/ArrayTypearg.java Wed May 27 22:34:43 2009 -0700 150.3 @@ -27,7 +27,7 @@ 150.4 * @summary generics: array as generic argument type fails 150.5 * @author gafter 150.6 * 150.7 - * @compile -source 1.5 ArrayTypearg.java 150.8 + * @compile ArrayTypearg.java 150.9 */ 150.10 150.11 import java.util.List;
151.1 --- a/test/tools/javac/generics/BridgeClash.java Thu May 21 10:56:36 2009 +0100 151.2 +++ b/test/tools/javac/generics/BridgeClash.java Wed May 27 22:34:43 2009 -0700 151.3 @@ -27,7 +27,7 @@ 151.4 * @summary generics: incorrect erasure clash reported 151.5 * @author gafter 151.6 * 151.7 - * @compile -source 1.5 BridgeClash.java 151.8 + * @compile BridgeClash.java 151.9 */ 151.10 151.11 interface I<T> {
152.1 --- a/test/tools/javac/generics/BridgeOrder.java Thu May 21 10:56:36 2009 +0100 152.2 +++ b/test/tools/javac/generics/BridgeOrder.java Wed May 27 22:34:43 2009 -0700 152.3 @@ -27,7 +27,7 @@ 152.4 * @summary generics: overridden method gets invoked (bridge method problem) 152.5 * @author gafter 152.6 * 152.7 - * @compile -source 1.5 BridgeOrder.java 152.8 + * @compile BridgeOrder.java 152.9 * @run main BridgeOrder 152.10 */ 152.11
153.1 --- a/test/tools/javac/generics/CastCrash.java Thu May 21 10:56:36 2009 +0100 153.2 +++ b/test/tools/javac/generics/CastCrash.java Wed May 27 22:34:43 2009 -0700 153.3 @@ -27,7 +27,7 @@ 153.4 * @summary Crash on cast 153.5 * @author gafter 153.6 * 153.7 - * @compile/fail -source 1.5 CastCrash.java 153.8 + * @compile/fail CastCrash.java 153.9 */ 153.10 153.11 package cast.crash;
154.1 --- a/test/tools/javac/generics/Casting.java Thu May 21 10:56:36 2009 +0100 154.2 +++ b/test/tools/javac/generics/Casting.java Wed May 27 22:34:43 2009 -0700 154.3 @@ -27,7 +27,7 @@ 154.4 * @summary generics problem with casting 154.5 * @author gafter 154.6 * 154.7 - * @compile -source 1.5 Casting.java 154.8 + * @compile Casting.java 154.9 */ 154.10 154.11 package test.tools.javac.generics.Casting;
155.1 --- a/test/tools/javac/generics/Casting2.java Thu May 21 10:56:36 2009 +0100 155.2 +++ b/test/tools/javac/generics/Casting2.java Wed May 27 22:34:43 2009 -0700 155.3 @@ -27,7 +27,7 @@ 155.4 * @summary stack overflow error compiling EnumSet.java 155.5 * @author gafter 155.6 * 155.7 - * @compile -source 1.5 Casting2.java 155.8 + * @compile Casting2.java 155.9 */ 155.10 155.11 import java.util.*;
156.1 --- a/test/tools/javac/generics/Casting3.java Thu May 21 10:56:36 2009 +0100 156.2 +++ b/test/tools/javac/generics/Casting3.java Wed May 27 22:34:43 2009 -0700 156.3 @@ -27,7 +27,7 @@ 156.4 * @summary compiler crash with stack overflow on unchecked cast 156.5 * @author gafter 156.6 * 156.7 - * @compile -source 1.5 Casting3.java 156.8 + * @compile Casting3.java 156.9 */ 156.10 156.11 package test.tools.javac.generics.Casting3;
157.1 --- a/test/tools/javac/generics/Casting4.java Thu May 21 10:56:36 2009 +0100 157.2 +++ b/test/tools/javac/generics/Casting4.java Wed May 27 22:34:43 2009 -0700 157.3 @@ -27,7 +27,7 @@ 157.4 * @summary Cannot cast Comparable<?>s 157.5 * @author gafter 157.6 * 157.7 - * @compile -Werror -Xlint:unchecked -source 1.5 Casting4.java 157.8 + * @compile -Werror -Xlint:unchecked Casting4.java 157.9 */ 157.10 157.11 package test.tools.javac.generics.Casting4;
158.1 --- a/test/tools/javac/generics/Conditional.java Thu May 21 10:56:36 2009 +0100 158.2 +++ b/test/tools/javac/generics/Conditional.java Wed May 27 22:34:43 2009 -0700 158.3 @@ -27,7 +27,7 @@ 158.4 * @summary Rule for semantics of ?: in the presence of generics and generic class Class 158.5 * @author gafter 158.6 * 158.7 - * @compile -source 1.5 Conditional.java 158.8 + * @compile Conditional.java 158.9 */ 158.10 158.11 package conditional;
159.1 --- a/test/tools/javac/generics/Covar2.java Thu May 21 10:56:36 2009 +0100 159.2 +++ b/test/tools/javac/generics/Covar2.java Wed May 27 22:34:43 2009 -0700 159.3 @@ -27,7 +27,7 @@ 159.4 * @summary Additional unit tests for covariant returns 159.5 * @author gafter 159.6 * 159.7 - * @compile -source 1.5 Covar2.java 159.8 + * @compile Covar2.java 159.9 * @run main Covar2 159.10 */ 159.11
160.1 --- a/test/tools/javac/generics/Covar3.java Thu May 21 10:56:36 2009 +0100 160.2 +++ b/test/tools/javac/generics/Covar3.java Wed May 27 22:34:43 2009 -0700 160.3 @@ -27,7 +27,7 @@ 160.4 * @summary missing ambiguity error 160.5 * @author gafter 160.6 * 160.7 - * @compile/fail -source 1.5 Covar3.java 160.8 + * @compile/fail Covar3.java 160.9 */ 160.10 160.11 package covar3;
161.1 --- a/test/tools/javac/generics/Covar4.java Thu May 21 10:56:36 2009 +0100 161.2 +++ b/test/tools/javac/generics/Covar4.java Wed May 27 22:34:43 2009 -0700 161.3 @@ -27,7 +27,7 @@ 161.4 * @summary no covariant returns involving primitives 161.5 * @author gafter 161.6 * 161.7 - * @compile/fail -source 1.5 Covar4.java 161.8 + * @compile/fail Covar4.java 161.9 */ 161.10 161.11 public class Covar4 {
162.1 --- a/test/tools/javac/generics/Crash01.java Thu May 21 10:56:36 2009 +0100 162.2 +++ b/test/tools/javac/generics/Crash01.java Wed May 27 22:34:43 2009 -0700 162.3 @@ -27,7 +27,7 @@ 162.4 * @summary generics: crash when using class in bound defined after usage 162.5 * @author gafter 162.6 * 162.7 - * @compile -source 1.5 Crash01.java 162.8 + * @compile Crash01.java 162.9 */ 162.10 162.11 public class Crash01<A extends TestClass1 & IA> {
163.1 --- a/test/tools/javac/generics/Crash02.java Thu May 21 10:56:36 2009 +0100 163.2 +++ b/test/tools/javac/generics/Crash02.java Wed May 27 22:34:43 2009 -0700 163.3 @@ -27,7 +27,7 @@ 163.4 * @summary compiler crash in class writer 163.5 * @author gafter 163.6 * 163.7 - * @compile -source 1.5 Crash02.java 163.8 + * @compile Crash02.java 163.9 */ 163.10 163.11 import java.util.ArrayList;
164.1 --- a/test/tools/javac/generics/CyclicInheritance3.java Thu May 21 10:56:36 2009 +0100 164.2 +++ b/test/tools/javac/generics/CyclicInheritance3.java Wed May 27 22:34:43 2009 -0700 164.3 @@ -26,7 +26,7 @@ 164.4 * @bug 4861743 164.5 * @summary generics: incorrect cyclic inheritance error with type parameters 164.6 * 164.7 - * @compile -source 1.5 CyclicInheritance3.java 164.8 + * @compile CyclicInheritance3.java 164.9 */ 164.10 164.11 class Cycle {
165.1 --- a/test/tools/javac/generics/CyclicInheritance5.java Thu May 21 10:56:36 2009 +0100 165.2 +++ b/test/tools/javac/generics/CyclicInheritance5.java Wed May 27 22:34:43 2009 -0700 165.3 @@ -26,7 +26,7 @@ 165.4 * @bug 4862621 165.5 * @summary generics: incorrect cyclic inheritance error 165.6 * 165.7 - * @compile -source 1.5 CyclicInheritance5.java 165.8 + * @compile CyclicInheritance5.java 165.9 */ 165.10 165.11 class G<N extends G.Node<N>> {
166.1 --- a/test/tools/javac/generics/ErasureClashCrash.java Thu May 21 10:56:36 2009 +0100 166.2 +++ b/test/tools/javac/generics/ErasureClashCrash.java Wed May 27 22:34:43 2009 -0700 166.3 @@ -27,7 +27,7 @@ 166.4 * @summary javac crash with improper overrider 166.5 * @author gafter 166.6 * 166.7 - * @compile/fail -source 1.5 ErasureClashCrash.java 166.8 + * @compile/fail ErasureClashCrash.java 166.9 */ 166.10 166.11 interface Compar<T> {
167.1 --- a/test/tools/javac/generics/ExtendedRaw1.java Thu May 21 10:56:36 2009 +0100 167.2 +++ b/test/tools/javac/generics/ExtendedRaw1.java Wed May 27 22:34:43 2009 -0700 167.3 @@ -27,7 +27,7 @@ 167.4 * @summary generics: extension of raw not treated as raw. 167.5 * @author gafter 167.6 * 167.7 - * @compile -source 1.5 ExtendedRaw1.java 167.8 + * @compile ExtendedRaw1.java 167.9 */ 167.10 167.11 class Comparator<T> {}
168.1 --- a/test/tools/javac/generics/ExtendedRaw2.java Thu May 21 10:56:36 2009 +0100 168.2 +++ b/test/tools/javac/generics/ExtendedRaw2.java Wed May 27 22:34:43 2009 -0700 168.3 @@ -27,7 +27,7 @@ 168.4 * @summary generics: extension of raw not treated as raw. 168.5 * @author gafter 168.6 * 168.7 - * @compile -source 1.5 ExtendedRaw2.java 168.8 + * @compile ExtendedRaw2.java 168.9 */ 168.10 168.11 // from library
169.1 --- a/test/tools/javac/generics/ExtendedRaw3.java Thu May 21 10:56:36 2009 +0100 169.2 +++ b/test/tools/javac/generics/ExtendedRaw3.java Wed May 27 22:34:43 2009 -0700 169.3 @@ -27,7 +27,7 @@ 169.4 * @summary generics: bridge method not considered to fulfil interface in abstract class 169.5 * @author gafter 169.6 * 169.7 - * @compile -source 1.5 ExtendedRaw3.java 169.8 + * @compile ExtendedRaw3.java 169.9 */ 169.10 169.11 interface MyComparable<T extends MyComparable<T>> {
170.1 --- a/test/tools/javac/generics/ExtendedRaw4.java Thu May 21 10:56:36 2009 +0100 170.2 +++ b/test/tools/javac/generics/ExtendedRaw4.java Wed May 27 22:34:43 2009 -0700 170.3 @@ -27,7 +27,7 @@ 170.4 * @summary REGRESSION: compatibility problem inheriting raw type 170.5 * @author gafter 170.6 * 170.7 - * @compile -source 1.5 ExtendedRaw4.java 170.8 + * @compile ExtendedRaw4.java 170.9 */ 170.10 170.11 class ExtendedRaw4 extends java.util.TreeSet {}
171.1 --- a/test/tools/javac/generics/FinalBridge.java Thu May 21 10:56:36 2009 +0100 171.2 +++ b/test/tools/javac/generics/FinalBridge.java Wed May 27 22:34:43 2009 -0700 171.3 @@ -27,7 +27,7 @@ 171.4 * @summary generics: bridge for inherited final method can cause verify error 171.5 * @author gafter 171.6 * 171.7 - * @compile -source 1.5 FinalBridge.java 171.8 + * @compile FinalBridge.java 171.9 * @run main FinalBridge 171.10 */ 171.11
172.1 --- a/test/tools/javac/generics/GenLit1.java Thu May 21 10:56:36 2009 +0100 172.2 +++ b/test/tools/javac/generics/GenLit1.java Wed May 27 22:34:43 2009 -0700 172.3 @@ -27,7 +27,7 @@ 172.4 * @summary compiler crash with ill-formed annotation 172.5 * @author gafter 172.6 * 172.7 - * @compile/fail -source 1.5 GenLit1.java 172.8 + * @compile/fail GenLit1.java 172.9 */ 172.10 172.11 package genLit1;
173.1 --- a/test/tools/javac/generics/GenLit2.java Thu May 21 10:56:36 2009 +0100 173.2 +++ b/test/tools/javac/generics/GenLit2.java Wed May 27 22:34:43 2009 -0700 173.3 @@ -27,7 +27,7 @@ 173.4 * @summary java allows class literal on generic type parameter array 173.5 * @author gafter 173.6 * 173.7 - * @compile/fail -source 1.5 GenLit2.java 173.8 + * @compile/fail GenLit2.java 173.9 */ 173.10 173.11 package genLit2;
174.1 --- a/test/tools/javac/generics/GenericAnonCtor.java Thu May 21 10:56:36 2009 +0100 174.2 +++ b/test/tools/javac/generics/GenericAnonCtor.java Wed May 27 22:34:43 2009 -0700 174.3 @@ -27,7 +27,7 @@ 174.4 * @summary javac crash on parameterized anonymous constructor invocation 174.5 * @author gafter 174.6 * 174.7 - * @compile -source 1.5 GenericAnonCtor.java 174.8 + * @compile GenericAnonCtor.java 174.9 * @run main GenericAnonCtor 174.10 */ 174.11
175.1 --- a/test/tools/javac/generics/GenericMerge.java Thu May 21 10:56:36 2009 +0100 175.2 +++ b/test/tools/javac/generics/GenericMerge.java Wed May 27 22:34:43 2009 -0700 175.3 @@ -27,7 +27,7 @@ 175.4 * @summary generics: compiler crash merging signatures of generic methods 175.5 * @author gafter 175.6 * 175.7 - * @compile -source 1.5 GenericMerge.java 175.8 + * @compile GenericMerge.java 175.9 */ 175.10 175.11 class Box<T> {}
176.1 --- a/test/tools/javac/generics/GenericOverride.java Thu May 21 10:56:36 2009 +0100 176.2 +++ b/test/tools/javac/generics/GenericOverride.java Wed May 27 22:34:43 2009 -0700 176.3 @@ -27,7 +27,7 @@ 176.4 * @summary Cannot override non-trivial generic method 176.5 * @author gafter 176.6 * 176.7 - * @compile -source 1.5 GenericOverride.java 176.8 + * @compile GenericOverride.java 176.9 */ 176.10 176.11 package generic.override;
177.1 --- a/test/tools/javac/generics/GenericThrowable.java Thu May 21 10:56:36 2009 +0100 177.2 +++ b/test/tools/javac/generics/GenericThrowable.java Wed May 27 22:34:43 2009 -0700 177.3 @@ -27,7 +27,7 @@ 177.4 * @summary java.lang.Throwable inheritance in parameterized type 177.5 * @author gafter 177.6 * 177.7 - * @compile/fail -source 1.5 GenericThrowable.java 177.8 + * @compile/fail GenericThrowable.java 177.9 */ 177.10 177.11 class GenericThrowable<T> extends NullPointerException {
178.1 --- a/test/tools/javac/generics/GetClass.java Thu May 21 10:56:36 2009 +0100 178.2 +++ b/test/tools/javac/generics/GetClass.java Wed May 27 22:34:43 2009 -0700 178.3 @@ -27,7 +27,7 @@ 178.4 * @summary the type of x.getClass() is no longer Class<? extends X> 178.5 * @author gafter 178.6 * 178.7 - * @compile/fail -source 1.5 GetClass.java 178.8 + * @compile/fail GetClass.java 178.9 */ 178.10 178.11 public class GetClass {
179.1 --- a/test/tools/javac/generics/GetClass2.java Thu May 21 10:56:36 2009 +0100 179.2 +++ b/test/tools/javac/generics/GetClass2.java Wed May 27 22:34:43 2009 -0700 179.3 @@ -27,7 +27,7 @@ 179.4 * @summary the type of x.getClass() is Class<? extends |X|> 179.5 * @author seligman 179.6 * 179.7 - * @compile -source 1.5 GetClass2.java 179.8 + * @compile GetClass2.java 179.9 * @run main GetClass2 179.10 */ 179.11
180.1 --- a/test/tools/javac/generics/InheritanceConflict.java Thu May 21 10:56:36 2009 +0100 180.2 +++ b/test/tools/javac/generics/InheritanceConflict.java Wed May 27 22:34:43 2009 -0700 180.3 @@ -27,7 +27,7 @@ 180.4 * @summary two inherited methods with same signature 180.5 * @author gafter, Maurizio Cimadamore 180.6 * 180.7 - * @compile/fail -source 1.5 InheritanceConflict.java 180.8 + * @compile/fail InheritanceConflict.java 180.9 */ 180.10 180.11 package inheritance.conflict;
181.1 --- a/test/tools/javac/generics/InheritanceConflict2.java Thu May 21 10:56:36 2009 +0100 181.2 +++ b/test/tools/javac/generics/InheritanceConflict2.java Wed May 27 22:34:43 2009 -0700 181.3 @@ -27,7 +27,7 @@ 181.4 * @summary two inherited methods with same signature 181.5 * @author gafter, Maurizio Cimadamore 181.6 * 181.7 - * @compile -source 1.5 InheritanceConflict2.java 181.8 + * @compile InheritanceConflict2.java 181.9 */ 181.10 181.11 package inheritance.conflict2;
182.1 --- a/test/tools/javac/generics/InheritanceConflict3.java Thu May 21 10:56:36 2009 +0100 182.2 +++ b/test/tools/javac/generics/InheritanceConflict3.java Wed May 27 22:34:43 2009 -0700 182.3 @@ -27,7 +27,7 @@ 182.4 * @summary two inherited methods with same signature 182.5 * @author darcy 182.6 * 182.7 - * @compile/fail -source 1.5 InheritanceConflict3.java 182.8 + * @compile/fail InheritanceConflict3.java 182.9 */ 182.10 182.11 package inheritance.conflict3;
183.1 --- a/test/tools/javac/generics/InnerInterface1.java Thu May 21 10:56:36 2009 +0100 183.2 +++ b/test/tools/javac/generics/InnerInterface1.java Wed May 27 22:34:43 2009 -0700 183.3 @@ -27,7 +27,7 @@ 183.4 * @summary Inner interfaces are not treated as static 183.5 * @author gafter 183.6 * 183.7 - * @compile -source 1.5 InnerInterface1.java 183.8 + * @compile InnerInterface1.java 183.9 */ 183.10 183.11 package test.tools.javac.generics.InnerInterface1;
184.1 --- a/test/tools/javac/generics/InnerInterface2.java Thu May 21 10:56:36 2009 +0100 184.2 +++ b/test/tools/javac/generics/InnerInterface2.java Wed May 27 22:34:43 2009 -0700 184.3 @@ -27,7 +27,7 @@ 184.4 * @summary inner interface causes "not within bounds" 184.5 * @author gafter 184.6 * 184.7 - * @compile -source 1.5 InnerInterface2.java 184.8 + * @compile InnerInterface2.java 184.9 */ 184.10 184.11 package test.tools.javac.generics.InnerInterface2;
185.1 --- a/test/tools/javac/generics/InstanceOf1.java Thu May 21 10:56:36 2009 +0100 185.2 +++ b/test/tools/javac/generics/InstanceOf1.java Wed May 27 22:34:43 2009 -0700 185.3 @@ -27,7 +27,7 @@ 185.4 * @summary the type in an instanceof expression must be reifiable 185.5 * @author seligman 185.6 * 185.7 - * @compile -source 1.5 InstanceOf1.java 185.8 + * @compile InstanceOf1.java 185.9 */ 185.10 185.11 public class InstanceOf1 {
186.1 --- a/test/tools/javac/generics/InstanceOf2.java Thu May 21 10:56:36 2009 +0100 186.2 +++ b/test/tools/javac/generics/InstanceOf2.java Wed May 27 22:34:43 2009 -0700 186.3 @@ -27,7 +27,7 @@ 186.4 * @summary the type in an instanceof expression must be reifiable 186.5 * @author seligman 186.6 * 186.7 - * @compile/fail -source 1.5 InstanceOf2.java 186.8 + * @compile/fail InstanceOf2.java 186.9 */ 186.10 186.11 public class InstanceOf2 {
187.1 --- a/test/tools/javac/generics/InstanceOf3.java Thu May 21 10:56:36 2009 +0100 187.2 +++ b/test/tools/javac/generics/InstanceOf3.java Wed May 27 22:34:43 2009 -0700 187.3 @@ -27,7 +27,7 @@ 187.4 * @summary the type in an instanceof expression must be reifiable 187.5 * @author seligman 187.6 * 187.7 - * @compile/fail -source 1.5 InstanceOf3.java 187.8 + * @compile/fail InstanceOf3.java 187.9 */ 187.10 187.11 public class InstanceOf3 {
188.1 --- a/test/tools/javac/generics/InterfaceCast1.java Thu May 21 10:56:36 2009 +0100 188.2 +++ b/test/tools/javac/generics/InterfaceCast1.java Wed May 27 22:34:43 2009 -0700 188.3 @@ -27,7 +27,7 @@ 188.4 * @summary overridden interface method causes the compiler to reject cast 188.5 * @author gafter 188.6 * 188.7 - * @compile -source 1.5 InterfaceCast1.java 188.8 + * @compile InterfaceCast1.java 188.9 */ 188.10 188.11 public class InterfaceCast1 {
189.1 --- a/test/tools/javac/generics/LoadOrder.java Thu May 21 10:56:36 2009 +0100 189.2 +++ b/test/tools/javac/generics/LoadOrder.java Wed May 27 22:34:43 2009 -0700 189.3 @@ -27,7 +27,7 @@ 189.4 * @summary generics: generic class files can cause recursive class loading (crashing javac) 189.5 * @author gafter 189.6 * 189.7 - * @compile -source 1.5 LoadOrder.java 189.8 + * @compile LoadOrder.java 189.9 */ 189.10 189.11 import java.util.Collections;
190.1 --- a/test/tools/javac/generics/MissingBridge.java Thu May 21 10:56:36 2009 +0100 190.2 +++ b/test/tools/javac/generics/MissingBridge.java Wed May 27 22:34:43 2009 -0700 190.3 @@ -27,7 +27,7 @@ 190.4 * @summary Calling inherited generics method via interface causes AbstractMethodError 190.5 * @author gafter 190.6 * 190.7 - * @compile -source 1.5 MissingBridge.java 190.8 + * @compile MissingBridge.java 190.9 * @run main MissingBridge 190.10 */ 190.11
191.1 --- a/test/tools/javac/generics/MissingCast.java Thu May 21 10:56:36 2009 +0100 191.2 +++ b/test/tools/javac/generics/MissingCast.java Wed May 27 22:34:43 2009 -0700 191.3 @@ -27,7 +27,7 @@ 191.4 * @summary redundant cast with generified APIs causes verify error 191.5 * @author gafter 191.6 * 191.7 - * @compile -source 1.5 MissingCast.java 191.8 + * @compile MissingCast.java 191.9 * @run main MissingCast 191.10 */ 191.11
192.1 --- a/test/tools/javac/generics/Multibound1.java Thu May 21 10:56:36 2009 +0100 192.2 +++ b/test/tools/javac/generics/Multibound1.java Wed May 27 22:34:43 2009 -0700 192.3 @@ -27,7 +27,7 @@ 192.4 * @summary javac failed to check second bound 192.5 * @author gafter 192.6 * 192.7 - * @compile/fail -source 1.5 Multibound1.java 192.8 + * @compile/fail Multibound1.java 192.9 */ 192.10 192.11 package test.tools.javac.generics.Multibound1;
193.1 --- a/test/tools/javac/generics/MultipleInheritance.java Thu May 21 10:56:36 2009 +0100 193.2 +++ b/test/tools/javac/generics/MultipleInheritance.java Wed May 27 22:34:43 2009 -0700 193.3 @@ -27,7 +27,7 @@ 193.4 * @summary generics problem with multiple interface extension 193.5 * @author gafter 193.6 * 193.7 - * @compile -source 1.5 MultipleInheritance.java 193.8 + * @compile MultipleInheritance.java 193.9 */ 193.10 193.11 package test.tools.javac.generics.MultipleInheritance;
194.1 --- a/test/tools/javac/generics/NameOrder.java Thu May 21 10:56:36 2009 +0100 194.2 +++ b/test/tools/javac/generics/NameOrder.java Wed May 27 22:34:43 2009 -0700 194.3 @@ -27,7 +27,7 @@ 194.4 * @summary generics: type inference failure due to a bug in ClassSymbol.isLess 194.5 * @author gafter 194.6 * 194.7 - * @compile -source 1.5 NameOrder.java 194.8 + * @compile NameOrder.java 194.9 */ 194.10 194.11 package test.tools.javac.generics.NameOrder;
195.1 --- a/test/tools/javac/generics/Nonlinear.java Thu May 21 10:56:36 2009 +0100 195.2 +++ b/test/tools/javac/generics/Nonlinear.java Wed May 27 22:34:43 2009 -0700 195.3 @@ -27,7 +27,7 @@ 195.4 * @summary A bug in the original JSR14 generics specification 195.5 * created a loophole in the type system. 195.6 * 195.7 - * @compile/fail -source 1.5 Nonlinear.java 195.8 + * @compile/fail Nonlinear.java 195.9 */ 195.10 195.11
196.1 --- a/test/tools/javac/generics/ParametricException.java Thu May 21 10:56:36 2009 +0100 196.2 +++ b/test/tools/javac/generics/ParametricException.java Wed May 27 22:34:43 2009 -0700 196.3 @@ -27,7 +27,7 @@ 196.4 * @summary generics: parametric exception type versus overriding 196.5 * @author gafter 196.6 * 196.7 - * @compile -source 1.5 ParametricException.java 196.8 + * @compile ParametricException.java 196.9 */ 196.10 196.11 import java.io.*;
197.1 --- a/test/tools/javac/generics/ParenVerify.java Thu May 21 10:56:36 2009 +0100 197.2 +++ b/test/tools/javac/generics/ParenVerify.java Wed May 27 22:34:43 2009 -0700 197.3 @@ -27,7 +27,7 @@ 197.4 * @summary generics: verify error when redundant parens used! 197.5 * @author gafter 197.6 * 197.7 - * @compile -source 1.5 ParenVerify.java 197.8 + * @compile ParenVerify.java 197.9 * @run main ParenVerify 197.10 */ 197.11
198.1 --- a/test/tools/javac/generics/PermuteBound.java Thu May 21 10:56:36 2009 +0100 198.2 +++ b/test/tools/javac/generics/PermuteBound.java Wed May 27 22:34:43 2009 -0700 198.3 @@ -27,7 +27,7 @@ 198.4 * @summary generics: subtyping problem when type parameters permuted 198.5 * @author gafter 198.6 * 198.7 - * @compile -source 1.5 PermuteBound.java 198.8 + * @compile PermuteBound.java 198.9 */ 198.10 198.11 package test.tools.javac.generics.PermuteBound;
199.1 --- a/test/tools/javac/generics/PrimitiveClass.java Thu May 21 10:56:36 2009 +0100 199.2 +++ b/test/tools/javac/generics/PrimitiveClass.java Wed May 27 22:34:43 2009 -0700 199.3 @@ -27,7 +27,7 @@ 199.4 * @summary int.class and ilk have wrong type (5028351 rejected) 199.5 * @author gafter 199.6 * 199.7 - * @compile -source 1.5 PrimitiveClass.java 199.8 + * @compile PrimitiveClass.java 199.9 */ 199.10 199.11 package primitive._class;
200.1 --- a/test/tools/javac/generics/PrimitiveVariant.java Thu May 21 10:56:36 2009 +0100 200.2 +++ b/test/tools/javac/generics/PrimitiveVariant.java Wed May 27 22:34:43 2009 -0700 200.3 @@ -27,7 +27,7 @@ 200.4 * @summary compiler allows overriding with different primitive return type 200.5 * @author gafter 200.6 * 200.7 - * @compile/fail -source 1.5 PrimitiveVariant.java 200.8 + * @compile/fail PrimitiveVariant.java 200.9 */ 200.10 200.11 package test.tools.javac.generics.PrimitiveVariant;
201.1 --- a/test/tools/javac/generics/RawClient.java Thu May 21 10:56:36 2009 +0100 201.2 +++ b/test/tools/javac/generics/RawClient.java Wed May 27 22:34:43 2009 -0700 201.3 @@ -27,7 +27,7 @@ 201.4 * @summary javac should implement JLS3 three-pass overload resolution 201.5 * @author gafter 201.6 * 201.7 - * @compile -source 1.5 RawClient.java 201.8 + * @compile RawClient.java 201.9 */ 201.10 201.11 package rawClient;
202.1 --- a/test/tools/javac/generics/RefEqual.java Thu May 21 10:56:36 2009 +0100 202.2 +++ b/test/tools/javac/generics/RefEqual.java Wed May 27 22:34:43 2009 -0700 202.3 @@ -28,7 +28,7 @@ 202.4 * @author gafter 202.5 * 202.6 * @compile -source 1.4 RefEqual.java 202.7 - * @compile/fail -source 1.5 RefEqual.java 202.8 + * @compile/fail RefEqual.java 202.9 */ 202.10 202.11 class RefEqual {
203.1 --- a/test/tools/javac/generics/RelaxedArrays.java Thu May 21 10:56:36 2009 +0100 203.2 +++ b/test/tools/javac/generics/RelaxedArrays.java Wed May 27 22:34:43 2009 -0700 203.3 @@ -27,7 +27,7 @@ 203.4 * @summary relaxed rules for array of generic type and varargs. 203.5 * @author gafter 203.6 * 203.7 - * @compile -source 1.5 RelaxedArrays.java 203.8 + * @compile RelaxedArrays.java 203.9 * @run main RelaxedArrays 203.10 */ 203.11
204.1 --- a/test/tools/javac/generics/ReverseOrder.java Thu May 21 10:56:36 2009 +0100 204.2 +++ b/test/tools/javac/generics/ReverseOrder.java Wed May 27 22:34:43 2009 -0700 204.3 @@ -27,7 +27,7 @@ 204.4 * @summary problem with generic signature for reverseOrder 204.5 * @author gafter 204.6 * 204.7 - * @compile -source 1.5 ReverseOrder.java 204.8 + * @compile ReverseOrder.java 204.9 */ 204.10 204.11 package test.reverseOrder;
205.1 --- a/test/tools/javac/generics/SelfImplement.java Thu May 21 10:56:36 2009 +0100 205.2 +++ b/test/tools/javac/generics/SelfImplement.java Wed May 27 22:34:43 2009 -0700 205.3 @@ -27,7 +27,7 @@ 205.4 * @summary generics: reject implementation with incorrect return type 205.5 * @author gafter 205.6 * 205.7 - * @compile/fail -source 1.5 SelfImplement.java 205.8 + * @compile/fail SelfImplement.java 205.9 */ 205.10 205.11 class SelfImplement {
206.1 --- a/test/tools/javac/generics/SilentUnchecked.java Thu May 21 10:56:36 2009 +0100 206.2 +++ b/test/tools/javac/generics/SilentUnchecked.java Wed May 27 22:34:43 2009 -0700 206.3 @@ -27,7 +27,7 @@ 206.4 * @summary unchecked conversion from raw to reifiable generic requires no warning 206.5 * @author gafter 206.6 * 206.7 - * @compile -Xlint:unchecked -Werror -source 1.5 SilentUnchecked.java 206.8 + * @compile -Xlint:unchecked -Werror SilentUnchecked.java 206.9 */ 206.10 206.11 package silent.unchecked;
207.1 --- a/test/tools/javac/generics/SuperTypeargs.java Thu May 21 10:56:36 2009 +0100 207.2 +++ b/test/tools/javac/generics/SuperTypeargs.java Wed May 27 22:34:43 2009 -0700 207.3 @@ -27,7 +27,7 @@ 207.4 * @summary compilation error for super.<T,E>f() and ClassName.super.<T,E>f() 207.5 * @author gafter 207.6 * 207.7 - * @compile -source 1.5 SuperTypeargs.java 207.8 + * @compile SuperTypeargs.java 207.9 */ 207.10 207.11 package superTypeargs;
208.1 --- a/test/tools/javac/generics/T4661029.java Thu May 21 10:56:36 2009 +0100 208.2 +++ b/test/tools/javac/generics/T4661029.java Wed May 27 22:34:43 2009 -0700 208.3 @@ -26,7 +26,7 @@ 208.4 * @summary generics: assertion error using Arrays.fill 208.5 * @author gafter 208.6 * 208.7 - * @compile -source 1.5 T4661029.java 208.8 + * @compile T4661029.java 208.9 */ 208.10 208.11 public class T4661029 {
209.1 --- a/test/tools/javac/generics/T4683314.java Thu May 21 10:56:36 2009 +0100 209.2 +++ b/test/tools/javac/generics/T4683314.java Wed May 27 22:34:43 2009 -0700 209.3 @@ -27,7 +27,7 @@ 209.4 * @summary generics: overload resolution error in non-generic code 209.5 * @author gafter 209.6 * 209.7 - * @compile -source 1.5 T4683314.java 209.8 + * @compile T4683314.java 209.9 */ 209.10 209.11 class T4683314a {
210.1 --- a/test/tools/javac/generics/T4684378.java Thu May 21 10:56:36 2009 +0100 210.2 +++ b/test/tools/javac/generics/T4684378.java Wed May 27 22:34:43 2009 -0700 210.3 @@ -27,7 +27,7 @@ 210.4 * @summary generics: verify error in generated bytecode 210.5 * @author gafter 210.6 * 210.7 - * @compile -source 1.5 T4684378.java 210.8 + * @compile T4684378.java 210.9 * @run main T4684378 210.10 */ 210.11
211.1 --- a/test/tools/javac/generics/T4695348.java Thu May 21 10:56:36 2009 +0100 211.2 +++ b/test/tools/javac/generics/T4695348.java Wed May 27 22:34:43 2009 -0700 211.3 @@ -27,7 +27,7 @@ 211.4 * @summary generics: compiler allows ref to type bounds in static members 211.5 * @author gafter 211.6 * 211.7 - * @compile/fail -source 1.5 T4695348.java 211.8 + * @compile/fail T4695348.java 211.9 */ 211.10 211.11 class T4695348<T> {
212.1 --- a/test/tools/javac/generics/T4695415.java Thu May 21 10:56:36 2009 +0100 212.2 +++ b/test/tools/javac/generics/T4695415.java Wed May 27 22:34:43 2009 -0700 212.3 @@ -27,7 +27,7 @@ 212.4 * @summary generics: bug in type inference when method result used as an argument 212.5 * @author gafter 212.6 * 212.7 - * @compile -source 1.5 T4695415.java 212.8 + * @compile T4695415.java 212.9 */ 212.10 212.11 class X<T extends Number> {
213.1 --- a/test/tools/javac/generics/T4695847.java Thu May 21 10:56:36 2009 +0100 213.2 +++ b/test/tools/javac/generics/T4695847.java Wed May 27 22:34:43 2009 -0700 213.3 @@ -27,7 +27,7 @@ 213.4 * @summary generics: problem with inference of primitive return values 213.5 * @author gafter 213.6 * 213.7 - * @compile -source 1.5 T4695847.java 213.8 + * @compile T4695847.java 213.9 */ 213.10 213.11 public class T4695847<T> {
214.1 --- a/test/tools/javac/generics/T4711570.java Thu May 21 10:56:36 2009 +0100 214.2 +++ b/test/tools/javac/generics/T4711570.java Wed May 27 22:34:43 2009 -0700 214.3 @@ -27,7 +27,7 @@ 214.4 * @summary generics: problem with methods when type parameter doesn't appear in signature 214.5 * @author gafter 214.6 * 214.7 - * @compile -source 1.5 T4711570.java 214.8 + * @compile T4711570.java 214.9 */ 214.10 214.11 class T4711570 {
215.1 --- a/test/tools/javac/generics/T4711572.java Thu May 21 10:56:36 2009 +0100 215.2 +++ b/test/tools/javac/generics/T4711572.java Wed May 27 22:34:43 2009 -0700 215.3 @@ -27,7 +27,7 @@ 215.4 * @summary generics: problem with type inference for recursive methods 215.5 * @author gafter 215.6 * 215.7 - * @compile -source 1.5 T4683314.java 215.8 + * @compile T4683314.java 215.9 */ 215.10 215.11 class T4711572 {
216.1 --- a/test/tools/javac/generics/T4711694.java Thu May 21 10:56:36 2009 +0100 216.2 +++ b/test/tools/javac/generics/T4711694.java Wed May 27 22:34:43 2009 -0700 216.3 @@ -27,7 +27,7 @@ 216.4 * @summary generics: missing bridge method for inherited implementation 216.5 * @author gafter 216.6 * 216.7 - * @compile -source 1.5 T4711694.java 216.8 + * @compile T4711694.java 216.9 * @run main T4711694 216.10 */ 216.11
217.1 --- a/test/tools/javac/generics/T4738171.java Thu May 21 10:56:36 2009 +0100 217.2 +++ b/test/tools/javac/generics/T4738171.java Wed May 27 22:34:43 2009 -0700 217.3 @@ -27,7 +27,7 @@ 217.4 * @summary generics: problem with equivalence of generic types 217.5 * @author gafter 217.6 * 217.7 - * @compile/fail -source 1.5 T4738171.java 217.8 + * @compile/fail T4738171.java 217.9 */ 217.10 217.11 interface If<T> {
218.1 --- a/test/tools/javac/generics/T4739399.java Thu May 21 10:56:36 2009 +0100 218.2 +++ b/test/tools/javac/generics/T4739399.java Wed May 27 22:34:43 2009 -0700 218.3 @@ -27,7 +27,7 @@ 218.4 * @summary generics: crash after error regarding bounds on type variable 218.5 * @author gafter 218.6 * 218.7 - * @compile/fail -source 1.5 T4739399.java 218.8 + * @compile/fail T4739399.java 218.9 */ 218.10 218.11 class T4739399 {
219.1 --- a/test/tools/javac/generics/T4757416.java Thu May 21 10:56:36 2009 +0100 219.2 +++ b/test/tools/javac/generics/T4757416.java Wed May 27 22:34:43 2009 -0700 219.3 @@ -27,7 +27,7 @@ 219.4 * @summary generics: erasure clash not detected 219.5 * @author gafter 219.6 * 219.7 - * @compile/fail -source 1.5 T4757416.java 219.8 + * @compile/fail T4757416.java 219.9 */ 219.10 219.11 class T4756416 {
220.1 --- a/test/tools/javac/generics/T4784207a.java Thu May 21 10:56:36 2009 +0100 220.2 +++ b/test/tools/javac/generics/T4784207a.java Wed May 27 22:34:43 2009 -0700 220.3 @@ -27,8 +27,8 @@ 220.4 * @summary generics: method overriding missed with separate compilation 220.5 * @author gafter 220.6 * 220.7 - * @compile -source 1.5 T4784207a.java 220.8 - * @compile -source 1.5 T4784207b.java 220.9 + * @compile T4784207a.java 220.10 + * @compile T4784207b.java 220.11 */ 220.12 220.13 interface T4784207a_i extends Comparable<T4784207a_i>{
221.1 --- a/test/tools/javac/generics/T4784219.java Thu May 21 10:56:36 2009 +0100 221.2 +++ b/test/tools/javac/generics/T4784219.java Wed May 27 22:34:43 2009 -0700 221.3 @@ -27,7 +27,7 @@ 221.4 * @summary generics: compiler crash after diagnostic 221.5 * @author gafter 221.6 * 221.7 - * @compile -source 1.5 T4683314.java 221.8 + * @compile T4683314.java 221.9 */ 221.10 221.11 public class T4784219 {
222.1 --- a/test/tools/javac/generics/T5011073.java Thu May 21 10:56:36 2009 +0100 222.2 +++ b/test/tools/javac/generics/T5011073.java Wed May 27 22:34:43 2009 -0700 222.3 @@ -27,7 +27,7 @@ 222.4 * @summary javac should implement JLS3 three-pass overload resolution 222.5 * @author gafter 222.6 * 222.7 - * @compile/fail -source 1.5 T5011073.java 222.8 + * @compile/fail T5011073.java 222.9 */ 222.10 222.11 import java.util.*;
223.1 --- a/test/tools/javac/generics/T5094318.java Thu May 21 10:56:36 2009 +0100 223.2 +++ b/test/tools/javac/generics/T5094318.java Wed May 27 22:34:43 2009 -0700 223.3 @@ -28,7 +28,7 @@ 223.4 * 223.5 * @compile -source 1.4 T5094318.java 223.6 * @run main T5094318 223.7 - * @compile -source 1.5 T5094318.java 223.8 + * @compile T5094318.java 223.9 * @run main/fail T5094318 223.10 */ 223.11
224.1 --- a/test/tools/javac/generics/TyparamLit.java Thu May 21 10:56:36 2009 +0100 224.2 +++ b/test/tools/javac/generics/TyparamLit.java Wed May 27 22:34:43 2009 -0700 224.3 @@ -27,7 +27,7 @@ 224.4 * @summary generics: compiler allows T.class for type variable T 224.5 * @author gafter 224.6 * 224.7 - * @compile/fail -source 1.5 TyparamLit.java 224.8 + * @compile/fail TyparamLit.java 224.9 */ 224.10 224.11 class TyparamLit<T> {
225.1 --- a/test/tools/javac/generics/TyparamStaticScope.java Thu May 21 10:56:36 2009 +0100 225.2 +++ b/test/tools/javac/generics/TyparamStaticScope.java Wed May 27 22:34:43 2009 -0700 225.3 @@ -27,7 +27,7 @@ 225.4 * @summary javac mistakenly reports static use error for enclosing type parameter 225.5 * @author gafter 225.6 * 225.7 - * @compile -source 1.5 TyparamStaticScope.java 225.8 + * @compile TyparamStaticScope.java 225.9 */ 225.10 225.11 package typaram.static_.scope;
226.1 --- a/test/tools/javac/generics/TyparamStaticScope2.java Thu May 21 10:56:36 2009 +0100 226.2 +++ b/test/tools/javac/generics/TyparamStaticScope2.java Wed May 27 22:34:43 2009 -0700 226.3 @@ -27,7 +27,7 @@ 226.4 * @summary type parameter referenced in static inner class improperly allowed! 226.5 * @author gafter 226.6 * 226.7 - * @compile/fail -source 1.5 TyparamStaticScope2.java 226.8 + * @compile/fail TyparamStaticScope2.java 226.9 */ 226.10 226.11 package typaram.static_.scope2;
227.1 --- a/test/tools/javac/generics/UncheckedArray.java Thu May 21 10:56:36 2009 +0100 227.2 +++ b/test/tools/javac/generics/UncheckedArray.java Wed May 27 22:34:43 2009 -0700 227.3 @@ -27,7 +27,7 @@ 227.4 * @summary compiler allows new array of array of type parameter 227.5 * @author gafter 227.6 * 227.7 - * @compile/fail -source 1.5 UncheckedArray.java 227.8 + * @compile/fail UncheckedArray.java 227.9 */ 227.10 227.11 package unchecked.array;
228.1 --- a/test/tools/javac/generics/UncheckedConstructor.java Thu May 21 10:56:36 2009 +0100 228.2 +++ b/test/tools/javac/generics/UncheckedConstructor.java Wed May 27 22:34:43 2009 -0700 228.3 @@ -27,8 +27,8 @@ 228.4 * @summary compiler disallows raw call to generic constructor 228.5 * @author gafter 228.6 * 228.7 - * @compile -source 1.5 -Werror UncheckedConstructor.java 228.8 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked UncheckedConstructor.java 228.9 + * @compile -Werror UncheckedConstructor.java 228.10 + * @compile/fail -Werror -Xlint:unchecked UncheckedConstructor.java 228.11 */ 228.12 228.13 import java.util.*;
229.1 --- a/test/tools/javac/generics/UncheckedCovariance.java Thu May 21 10:56:36 2009 +0100 229.2 +++ b/test/tools/javac/generics/UncheckedCovariance.java Wed May 27 22:34:43 2009 -0700 229.3 @@ -27,8 +27,8 @@ 229.4 * @summary A method returning a raw type cannot override a method returning a generic type 229.5 * @author gafter 229.6 * 229.7 - * @compile -source 1.5 UncheckedCovariance.java 229.8 - * @compile/fail -Xlint:unchecked -Werror -source 1.5 UncheckedCovariance.java 229.9 + * @compile UncheckedCovariance.java 229.10 + * @compile/fail -Xlint:unchecked -Werror UncheckedCovariance.java 229.11 */ 229.12 229.13 class UncheckedCovariance {
230.1 --- a/test/tools/javac/generics/UnsoundInference.java Thu May 21 10:56:36 2009 +0100 230.2 +++ b/test/tools/javac/generics/UnsoundInference.java Wed May 27 22:34:43 2009 -0700 230.3 @@ -27,7 +27,7 @@ 230.4 * @summary Generic method allowing passing of types that don't match collection types 230.5 * @author gafter 230.6 * 230.7 - * @compile/fail -source 1.5 UnsoundInference.java 230.8 + * @compile/fail UnsoundInference.java 230.9 */ 230.10 230.11 import java.util.ArrayList;
231.1 --- a/test/tools/javac/generics/Varargs.java Thu May 21 10:56:36 2009 +0100 231.2 +++ b/test/tools/javac/generics/Varargs.java Wed May 27 22:34:43 2009 -0700 231.3 @@ -27,7 +27,7 @@ 231.4 * @summary varargs doesn't work for generic methods 231.5 * @author gafter 231.6 * 231.7 - * @compile -source 1.5 Varargs.java 231.8 + * @compile Varargs.java 231.9 */ 231.10 231.11 package varargs.versus.generics;
232.1 --- a/test/tools/javac/generics/Varargs2.java Thu May 21 10:56:36 2009 +0100 232.2 +++ b/test/tools/javac/generics/Varargs2.java Wed May 27 22:34:43 2009 -0700 232.3 @@ -27,7 +27,7 @@ 232.4 * @summary generics + varargs API changes 232.5 * @author gafter 232.6 * 232.7 - * @compile -source 1.5 Varargs2.java 232.8 + * @compile Varargs2.java 232.9 * @run main Varargs2 232.10 */ 232.11
233.1 --- a/test/tools/javac/generics/WrongNew.java Thu May 21 10:56:36 2009 +0100 233.2 +++ b/test/tools/javac/generics/WrongNew.java Wed May 27 22:34:43 2009 -0700 233.3 @@ -27,7 +27,7 @@ 233.4 * @summary generics: javac generares "new" of wrong class 233.5 * @author gafter 233.6 * 233.7 - * @compile -source 1.5 WrongNew.java 233.8 + * @compile WrongNew.java 233.9 * @run main WrongNew 233.10 */ 233.11
234.1 --- a/test/tools/javac/generics/abstract/T4717181c.java Thu May 21 10:56:36 2009 +0100 234.2 +++ b/test/tools/javac/generics/abstract/T4717181c.java Wed May 27 22:34:43 2009 -0700 234.3 @@ -27,7 +27,7 @@ 234.4 * @summary javac treats inherited abstract method as an overrider 234.5 * @author gafter 234.6 * 234.7 - * @compile/fail -source 1.5 T4717181c.java 234.8 + * @compile/fail T4717181c.java 234.9 */ 234.10 234.11 class T4717181c {
235.1 --- a/test/tools/javac/generics/bridge1/D.java Thu May 21 10:56:36 2009 +0100 235.2 +++ b/test/tools/javac/generics/bridge1/D.java Wed May 27 22:34:43 2009 -0700 235.3 @@ -27,7 +27,7 @@ 235.4 * @summary generics: missing bridge method 235.5 * @author gafter 235.6 * 235.7 - * @compile -source 1.5 A.java C.java D.java E.java 235.8 + * @compile A.java C.java D.java E.java 235.9 * @run main D 235.10 */ 235.11
236.1 --- a/test/tools/javac/generics/classreader/HArrayMethod.java Thu May 21 10:56:36 2009 +0100 236.2 +++ b/test/tools/javac/generics/classreader/HArrayMethod.java Wed May 27 22:34:43 2009 -0700 236.3 @@ -27,8 +27,8 @@ 236.4 * @summary generics: override checks break when using separate compilation 236.5 * @author gafter 236.6 * 236.7 - * @compile -source 1.5 HArrayMethod.java HMember.java HMethod.java HMethodImpl.java 236.8 - * @compile -source 1.5 HArrayMethod.java 236.9 + * @compile HArrayMethod.java HMember.java HMethod.java HMethodImpl.java 236.10 + * @compile HArrayMethod.java 236.11 */ 236.12 236.13 class HArrayMethod extends HMethodImpl {
237.1 --- a/test/tools/javac/generics/compat/CovariantCompat1.java Thu May 21 10:56:36 2009 +0100 237.2 +++ b/test/tools/javac/generics/compat/CovariantCompat1.java Wed May 27 22:34:43 2009 -0700 237.3 @@ -27,7 +27,7 @@ 237.4 * @summary generics: non-generic code should be able to call covariant method 237.5 * @author gafter 237.6 * 237.7 - * @compile -source 1.5 CovariantCompat1.java 237.8 + * @compile CovariantCompat1.java 237.9 * @compile -source 1.4 CovariantCompat2.java 237.10 */ 237.11
238.1 --- a/test/tools/javac/generics/compat/OverrideBridge1.java Thu May 21 10:56:36 2009 +0100 238.2 +++ b/test/tools/javac/generics/compat/OverrideBridge1.java Wed May 27 22:34:43 2009 -0700 238.3 @@ -27,10 +27,10 @@ 238.4 * @summary generics: compiler allows 1.4 code to override a bridge method 238.5 * @author gafter 238.6 * 238.7 - * @compile -source 1.5 OverrideBridge1.java 238.8 + * @compile OverrideBridge1.java 238.9 * @compile/fail -Werror -source 1.4 OverrideBridge2.java 238.10 * @compile -source 1.4 OverrideBridge2.java 238.11 - * @compile -source 1.5 OverrideBridge3.java 238.12 + * @compile OverrideBridge3.java 238.13 */ 238.14 238.15 // ALLOW users to override bridge methods.
239.1 --- a/test/tools/javac/generics/forwardSeparateBound/ForwardSeparateBound2.java Thu May 21 10:56:36 2009 +0100 239.2 +++ b/test/tools/javac/generics/forwardSeparateBound/ForwardSeparateBound2.java Wed May 27 22:34:43 2009 -0700 239.3 @@ -27,8 +27,8 @@ 239.4 * @summary generics: forward referenced bounds vs separate compilation 239.5 * @author gafter 239.6 * 239.7 - * @compile -source 1.5 ForwardSeparateBound1.java ForwardSeparateBound2.java 239.8 - * @compile -source 1.5 ForwardSeparateBound2.java 239.9 + * @compile ForwardSeparateBound1.java ForwardSeparateBound2.java 239.10 + * @compile ForwardSeparateBound2.java 239.11 */ 239.12 239.13 class Z {}
240.1 --- a/test/tools/javac/generics/genericAbstract/A.java Thu May 21 10:56:36 2009 +0100 240.2 +++ b/test/tools/javac/generics/genericAbstract/A.java Wed May 27 22:34:43 2009 -0700 240.3 @@ -27,7 +27,7 @@ 240.4 * @summary generics: generic interface method not implemented in abstract class causes err 240.5 * @author gafter 240.6 * 240.7 - * @compile -source 1.5 A.java B.java 240.8 + * @compile A.java B.java 240.9 */ 240.10 240.11 interface A {
241.1 --- a/test/tools/javac/generics/odersky/BadTest.java Thu May 21 10:56:36 2009 +0100 241.2 +++ b/test/tools/javac/generics/odersky/BadTest.java Wed May 27 22:34:43 2009 -0700 241.3 @@ -27,7 +27,7 @@ 241.4 * @summary Negative regression test from odersky 241.5 * @author odersky 241.6 * 241.7 - * @compile/fail -source 1.5 BadTest.java 241.8 + * @compile/fail BadTest.java 241.9 */ 241.10 241.11 class BadTest {
242.1 --- a/test/tools/javac/generics/odersky/BadTest2.java Thu May 21 10:56:36 2009 +0100 242.2 +++ b/test/tools/javac/generics/odersky/BadTest2.java Wed May 27 22:34:43 2009 -0700 242.3 @@ -27,7 +27,7 @@ 242.4 * @summary Regression test from odersky 242.5 * @author odersky 242.6 * 242.7 - * @compile -source 1.5 BadTest2.java 242.8 + * @compile BadTest2.java 242.9 */ 242.10 242.11 // this used to be a negative regression test, but when we
243.1 --- a/test/tools/javac/generics/odersky/BadTest3.java Thu May 21 10:56:36 2009 +0100 243.2 +++ b/test/tools/javac/generics/odersky/BadTest3.java Wed May 27 22:34:43 2009 -0700 243.3 @@ -27,7 +27,7 @@ 243.4 * @summary Negative regression test from odersky 243.5 * @author odersky 243.6 * 243.7 - * @compile/fail -source 1.5 BadTest3.java 243.8 + * @compile/fail BadTest3.java 243.9 */ 243.10 243.11 class BadTest3 {
244.1 --- a/test/tools/javac/generics/odersky/BadTest4.java Thu May 21 10:56:36 2009 +0100 244.2 +++ b/test/tools/javac/generics/odersky/BadTest4.java Wed May 27 22:34:43 2009 -0700 244.3 @@ -27,7 +27,7 @@ 244.4 * @summary Negative regression test from odersky 244.5 * @author odersky 244.6 * 244.7 - * @compile/fail -source 1.5 BadTest4.java 244.8 + * @compile/fail BadTest4.java 244.9 */ 244.10 244.11 class BadTest4 {
245.1 --- a/test/tools/javac/generics/odersky/Test.java Thu May 21 10:56:36 2009 +0100 245.2 +++ b/test/tools/javac/generics/odersky/Test.java Wed May 27 22:34:43 2009 -0700 245.3 @@ -27,7 +27,7 @@ 245.4 * @summary Positive regression test from odersky 245.5 * @author odersky 245.6 * 245.7 - * @compile -source 1.5 Test.java 245.8 + * @compile Test.java 245.9 */ 245.10 245.11 class Test {
246.1 --- a/test/tools/javac/generics/odersky/Test2.java Thu May 21 10:56:36 2009 +0100 246.2 +++ b/test/tools/javac/generics/odersky/Test2.java Wed May 27 22:34:43 2009 -0700 246.3 @@ -27,7 +27,7 @@ 246.4 * @summary Positive regression test from odersky 246.5 * @author odersky 246.6 * 246.7 - * @compile -source 1.5 Test2.java 246.8 + * @compile Test2.java 246.9 */ 246.10 246.11 class Test2 {
247.1 --- a/test/tools/javac/generics/odersky/Test3.java Thu May 21 10:56:36 2009 +0100 247.2 +++ b/test/tools/javac/generics/odersky/Test3.java Wed May 27 22:34:43 2009 -0700 247.3 @@ -27,7 +27,7 @@ 247.4 * @summary Positive regression test from odersky 247.5 * @author odersky 247.6 * 247.7 - * @compile -source 1.5 Test3.java 247.8 + * @compile Test3.java 247.9 */ 247.10 247.11 class Test3 {
248.1 --- a/test/tools/javac/generics/odersky/Test4.java Thu May 21 10:56:36 2009 +0100 248.2 +++ b/test/tools/javac/generics/odersky/Test4.java Wed May 27 22:34:43 2009 -0700 248.3 @@ -27,7 +27,7 @@ 248.4 * @summary Positive regression test from odersky 248.5 * @author odersky 248.6 * 248.7 - * @compile -source 1.5 Test4.java 248.8 + * @compile Test4.java 248.9 */ 248.10 248.11 class Test4 {
249.1 --- a/test/tools/javac/generics/parametricException/J.java Thu May 21 10:56:36 2009 +0100 249.2 +++ b/test/tools/javac/generics/parametricException/J.java Wed May 27 22:34:43 2009 -0700 249.3 @@ -27,8 +27,8 @@ 249.4 * @summary javac appears to omit throws portion of generic signature attribute 249.5 * @author gafter 249.6 * 249.7 - * @compile -source 1.5 J.java 249.8 - * @compile -source 1.5 K.java 249.9 + * @compile J.java 249.10 + * @compile K.java 249.11 */ 249.12 249.13 class J<T extends Exception> {
250.1 --- a/test/tools/javac/generics/rare/Rare1.java Thu May 21 10:56:36 2009 +0100 250.2 +++ b/test/tools/javac/generics/rare/Rare1.java Wed May 27 22:34:43 2009 -0700 250.3 @@ -27,7 +27,7 @@ 250.4 * @summary "rare" types 250.5 * @author gafter 250.6 * 250.7 - * @compile -source 1.5 Rare1.java 250.8 + * @compile Rare1.java 250.9 */ 250.10 250.11 package rare1;
251.1 --- a/test/tools/javac/generics/rare/Rare10.java Thu May 21 10:56:36 2009 +0100 251.2 +++ b/test/tools/javac/generics/rare/Rare10.java Wed May 27 22:34:43 2009 -0700 251.3 @@ -27,7 +27,7 @@ 251.4 * @summary "rare" types 251.5 * @author gafter 251.6 * 251.7 - * @compile -source 1.5 Rare10.java 251.8 + * @compile Rare10.java 251.9 */ 251.10 251.11 package rare10;
252.1 --- a/test/tools/javac/generics/rare/Rare11.java Thu May 21 10:56:36 2009 +0100 252.2 +++ b/test/tools/javac/generics/rare/Rare11.java Wed May 27 22:34:43 2009 -0700 252.3 @@ -27,7 +27,7 @@ 252.4 * @summary "rare" types 252.5 * @author gafter 252.6 * 252.7 - * @compile -source 1.5 Rare11.java 252.8 + * @compile Rare11.java 252.9 */ 252.10 252.11 package rare11;
253.1 --- a/test/tools/javac/generics/rare/Rare2.java Thu May 21 10:56:36 2009 +0100 253.2 +++ b/test/tools/javac/generics/rare/Rare2.java Wed May 27 22:34:43 2009 -0700 253.3 @@ -27,7 +27,7 @@ 253.4 * @summary "rare" types 253.5 * @author gafter 253.6 * 253.7 - * @compile/fail -source 1.5 Rare2.java 253.8 + * @compile/fail Rare2.java 253.9 */ 253.10 253.11 package rare2;
254.1 --- a/test/tools/javac/generics/rare/Rare3.java Thu May 21 10:56:36 2009 +0100 254.2 +++ b/test/tools/javac/generics/rare/Rare3.java Wed May 27 22:34:43 2009 -0700 254.3 @@ -27,7 +27,7 @@ 254.4 * @summary "rare" types 254.5 * @author gafter 254.6 * 254.7 - * @compile/fail -source 1.5 Rare3.java 254.8 + * @compile/fail Rare3.java 254.9 */ 254.10 254.11 package rare3;
255.1 --- a/test/tools/javac/generics/rare/Rare4.java Thu May 21 10:56:36 2009 +0100 255.2 +++ b/test/tools/javac/generics/rare/Rare4.java Wed May 27 22:34:43 2009 -0700 255.3 @@ -27,7 +27,7 @@ 255.4 * @summary "rare" types 255.5 * @author gafter 255.6 * 255.7 - * @compile/fail -source 1.5 Rare4.java 255.8 + * @compile/fail Rare4.java 255.9 */ 255.10 255.11 package rare4;
256.1 --- a/test/tools/javac/generics/rare/Rare5.java Thu May 21 10:56:36 2009 +0100 256.2 +++ b/test/tools/javac/generics/rare/Rare5.java Wed May 27 22:34:43 2009 -0700 256.3 @@ -27,7 +27,7 @@ 256.4 * @summary "rare" types 256.5 * @author gafter 256.6 * 256.7 - * @compile/fail -source 1.5 Rare5.java 256.8 + * @compile/fail Rare5.java 256.9 */ 256.10 256.11 package rare5;
257.1 --- a/test/tools/javac/generics/rare/Rare6.java Thu May 21 10:56:36 2009 +0100 257.2 +++ b/test/tools/javac/generics/rare/Rare6.java Wed May 27 22:34:43 2009 -0700 257.3 @@ -27,7 +27,7 @@ 257.4 * @summary "rare" types 257.5 * @author gafter 257.6 * 257.7 - * @compile/fail -source 1.5 Rare6.java 257.8 + * @compile/fail Rare6.java 257.9 */ 257.10 257.11 package rare6;
258.1 --- a/test/tools/javac/generics/rare/Rare7.java Thu May 21 10:56:36 2009 +0100 258.2 +++ b/test/tools/javac/generics/rare/Rare7.java Wed May 27 22:34:43 2009 -0700 258.3 @@ -27,7 +27,7 @@ 258.4 * @summary "rare" types 258.5 * @author gafter 258.6 * 258.7 - * @compile/fail -source 1.5 Rare7.java 258.8 + * @compile/fail Rare7.java 258.9 */ 258.10 258.11 package rare7;
259.1 --- a/test/tools/javac/generics/rare/Rare8.java Thu May 21 10:56:36 2009 +0100 259.2 +++ b/test/tools/javac/generics/rare/Rare8.java Wed May 27 22:34:43 2009 -0700 259.3 @@ -27,7 +27,7 @@ 259.4 * @summary "rare" types 259.5 * @author gafter 259.6 * 259.7 - * @compile -source 1.5 Rare8.java 259.8 + * @compile Rare8.java 259.9 */ 259.10 259.11 package rare8;
260.1 --- a/test/tools/javac/generics/rare/Rare9.java Thu May 21 10:56:36 2009 +0100 260.2 +++ b/test/tools/javac/generics/rare/Rare9.java Wed May 27 22:34:43 2009 -0700 260.3 @@ -27,7 +27,7 @@ 260.4 * @summary "rare" types 260.5 * @author gafter 260.6 * 260.7 - * @compile -source 1.5 Rare9.java 260.8 + * @compile Rare9.java 260.9 */ 260.10 260.11 package rare9;
261.1 --- a/test/tools/javac/generics/rawSeparate/RetroLexer.java Thu May 21 10:56:36 2009 +0100 261.2 +++ b/test/tools/javac/generics/rawSeparate/RetroLexer.java Wed May 27 22:34:43 2009 -0700 261.3 @@ -27,9 +27,9 @@ 261.4 * @summary raw types versus separate compilation causes type error 261.5 * @author gafter 261.6 * 261.7 - * @compile -source 1.5 Hashtable.java 261.8 - * @compile -source 1.5 CharScanner.java 261.9 - * @compile -source 1.5 RetroLexer.java 261.10 + * @compile Hashtable.java 261.11 + * @compile CharScanner.java 261.12 + * @compile RetroLexer.java 261.13 */ 261.14 261.15 package parser;
262.1 --- a/test/tools/javac/generics/typeargs/Basic.java Thu May 21 10:56:36 2009 +0100 262.2 +++ b/test/tools/javac/generics/typeargs/Basic.java Wed May 27 22:34:43 2009 -0700 262.3 @@ -27,7 +27,7 @@ 262.4 * @summary explicit type arguments 262.5 * @author gafter 262.6 * 262.7 - * @compile -source 1.5 Basic.java 262.8 + * @compile Basic.java 262.9 */ 262.10 262.11 // Test all of the basic forms for explicit type arguments
263.1 --- a/test/tools/javac/generics/typeargs/Metharg1.java Thu May 21 10:56:36 2009 +0100 263.2 +++ b/test/tools/javac/generics/typeargs/Metharg1.java Wed May 27 22:34:43 2009 -0700 263.3 @@ -27,7 +27,7 @@ 263.4 * @summary explicit type arguments 263.5 * @author gafter 263.6 * 263.7 - * @compile/fail -source 1.5 Metharg1.java 263.8 + * @compile/fail Metharg1.java 263.9 */ 263.10 263.11 // Test type mismatch on type argument for method call
264.1 --- a/test/tools/javac/generics/typeargs/Metharg2.java Thu May 21 10:56:36 2009 +0100 264.2 +++ b/test/tools/javac/generics/typeargs/Metharg2.java Wed May 27 22:34:43 2009 -0700 264.3 @@ -27,7 +27,7 @@ 264.4 * @summary explicit type arguments 264.5 * @author gafter 264.6 * 264.7 - * @compile/fail -source 1.5 Metharg2.java 264.8 + * @compile/fail Metharg2.java 264.9 */ 264.10 264.11 // Test type mismatch on type argument for qualified method call
265.1 --- a/test/tools/javac/generics/typeargs/Newarg1.java Thu May 21 10:56:36 2009 +0100 265.2 +++ b/test/tools/javac/generics/typeargs/Newarg1.java Wed May 27 22:34:43 2009 -0700 265.3 @@ -27,7 +27,7 @@ 265.4 * @summary explicit type arguments 265.5 * @author gafter 265.6 * 265.7 - * @compile/fail -source 1.5 Newarg1.java 265.8 + * @compile/fail Newarg1.java 265.9 */ 265.10 265.11 // Test type mismatch on type argument for constructor
266.1 --- a/test/tools/javac/generics/typeargs/Newarg2.java Thu May 21 10:56:36 2009 +0100 266.2 +++ b/test/tools/javac/generics/typeargs/Newarg2.java Wed May 27 22:34:43 2009 -0700 266.3 @@ -27,7 +27,7 @@ 266.4 * @summary explicit type arguments 266.5 * @author gafter 266.6 * 266.7 - * @compile/fail -source 1.5 Newarg2.java 266.8 + * @compile/fail Newarg2.java 266.9 */ 266.10 266.11 // Test type mismatch on type argument for inner constructor
267.1 --- a/test/tools/javac/generics/typeargs/Superarg1.java Thu May 21 10:56:36 2009 +0100 267.2 +++ b/test/tools/javac/generics/typeargs/Superarg1.java Wed May 27 22:34:43 2009 -0700 267.3 @@ -27,7 +27,7 @@ 267.4 * @summary explicit type arguments 267.5 * @author gafter 267.6 * 267.7 - * @compile/fail -source 1.5 Superarg1.java 267.8 + * @compile/fail Superarg1.java 267.9 */ 267.10 267.11 // Test type mismatch on type argument for super constructor
268.1 --- a/test/tools/javac/generics/typeargs/Superarg2.java Thu May 21 10:56:36 2009 +0100 268.2 +++ b/test/tools/javac/generics/typeargs/Superarg2.java Wed May 27 22:34:43 2009 -0700 268.3 @@ -27,7 +27,7 @@ 268.4 * @summary explicit type arguments 268.5 * @author gafter 268.6 * 268.7 - * @compile/fail -source 1.5 Superarg2.java 268.8 + * @compile/fail Superarg2.java 268.9 */ 268.10 268.11 // Test type mismatch on type argument for inner super constructor
269.1 --- a/test/tools/javac/generics/typeargs/ThisArg.java Thu May 21 10:56:36 2009 +0100 269.2 +++ b/test/tools/javac/generics/typeargs/ThisArg.java Wed May 27 22:34:43 2009 -0700 269.3 @@ -27,7 +27,7 @@ 269.4 * @summary explicit type arguments 269.5 * @author gafter 269.6 * 269.7 - * @compile/fail -source 1.5 ThisArg.java 269.8 + * @compile/fail ThisArg.java 269.9 */ 269.10 269.11 // Test type mismatch on type argument for this constructor
270.1 --- a/test/tools/javac/generics/typevars/4856983/T4856983.java Thu May 21 10:56:36 2009 +0100 270.2 +++ b/test/tools/javac/generics/typevars/4856983/T4856983.java Wed May 27 22:34:43 2009 -0700 270.3 @@ -27,7 +27,7 @@ 270.4 * @summary (crash) mutually f-bounded type vars with multiple bounds may crash javac 270.5 * @author Peter von der Ah\u00e9 270.6 * 270.7 - * @compile -source 5 T4856983.java 270.8 + * @compile T4856983.java 270.9 */ 270.10 270.11 import java.lang.Comparable;
271.1 --- a/test/tools/javac/generics/typevars/4856983/T4856983a.java Thu May 21 10:56:36 2009 +0100 271.2 +++ b/test/tools/javac/generics/typevars/4856983/T4856983a.java Wed May 27 22:34:43 2009 -0700 271.3 @@ -26,7 +26,7 @@ 271.4 * @bug 4856983 271.5 * @summary (crash) mutually f-bounded type vars with multiple bounds may crash javac 271.6 * @author Peter von der Ah\u00e9 271.7 - * @compile/fail -source 5 T4856983a.java 271.8 + * @compile/fail T4856983a.java 271.9 */ 271.10 271.11 interface I1 { Number m(); }
272.1 --- a/test/tools/javac/generics/typevars/4856983/T4856983b.java Thu May 21 10:56:36 2009 +0100 272.2 +++ b/test/tools/javac/generics/typevars/4856983/T4856983b.java Wed May 27 22:34:43 2009 -0700 272.3 @@ -26,7 +26,7 @@ 272.4 * @bug 4856983 272.5 * @summary (crash) mutually f-bounded type vars with multiple bounds may crash javac 272.6 * @author Peter von der Ah\u00e9 272.7 - * @compile/fail -source 5 T4856983b.java 272.8 + * @compile/fail T4856983b.java 272.9 */ 272.10 272.11 interface I1 { Number m(); }
273.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes1.java Thu May 21 10:56:36 2009 +0100 273.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes1.java Wed May 27 22:34:43 2009 -0700 273.3 @@ -25,7 +25,7 @@ 273.4 * @test 273.5 * @summary Test subtyping for wildcards with related type bounds. 273.6 * 273.7 - * @compile -source 1.5 AssignmentDifferentTypes1.java 273.8 + * @compile AssignmentDifferentTypes1.java 273.9 */ 273.10 273.11 public class AssignmentDifferentTypes1 {
274.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes2.java Thu May 21 10:56:36 2009 +0100 274.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes2.java Wed May 27 22:34:43 2009 -0700 274.3 @@ -25,7 +25,7 @@ 274.4 * @test 274.5 * @summary Test subtyping for wildcards with related type bounds. 274.6 * 274.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes2.java 274.8 + * @compile/fail AssignmentDifferentTypes2.java 274.9 */ 274.10 274.11 public class AssignmentDifferentTypes2 {
275.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes3.java Thu May 21 10:56:36 2009 +0100 275.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes3.java Wed May 27 22:34:43 2009 -0700 275.3 @@ -25,7 +25,7 @@ 275.4 * @test 275.5 * @summary Test subtyping for wildcards with related type bounds. 275.6 * 275.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes3.java 275.8 + * @compile/fail AssignmentDifferentTypes3.java 275.9 */ 275.10 275.11 public class AssignmentDifferentTypes3 {
276.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes4.java Thu May 21 10:56:36 2009 +0100 276.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes4.java Wed May 27 22:34:43 2009 -0700 276.3 @@ -25,7 +25,7 @@ 276.4 * @test 276.5 * @summary Test subtyping for wildcards with related type bounds. 276.6 * 276.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes4.java 276.8 + * @compile/fail AssignmentDifferentTypes4.java 276.9 */ 276.10 276.11 public class AssignmentDifferentTypes4 {
277.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes5.java Thu May 21 10:56:36 2009 +0100 277.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes5.java Wed May 27 22:34:43 2009 -0700 277.3 @@ -25,7 +25,7 @@ 277.4 * @test 277.5 * @summary Test subtyping for wildcards with related type bounds. 277.6 * 277.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes5.java 277.8 + * @compile/fail AssignmentDifferentTypes5.java 277.9 */ 277.10 277.11 public class AssignmentDifferentTypes5 {
278.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes6.java Thu May 21 10:56:36 2009 +0100 278.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes6.java Wed May 27 22:34:43 2009 -0700 278.3 @@ -25,7 +25,7 @@ 278.4 * @test 278.5 * @summary Test subtyping for wildcards with related type bounds. 278.6 * 278.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes6.java 278.8 + * @compile/fail AssignmentDifferentTypes6.java 278.9 */ 278.10 278.11 public class AssignmentDifferentTypes6 {
279.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes7.java Thu May 21 10:56:36 2009 +0100 279.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes7.java Wed May 27 22:34:43 2009 -0700 279.3 @@ -25,7 +25,7 @@ 279.4 * @test 279.5 * @summary Test subtyping for wildcards with related type bounds. 279.6 * 279.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes7.java 279.8 + * @compile/fail AssignmentDifferentTypes7.java 279.9 */ 279.10 279.11 public class AssignmentDifferentTypes7 {
280.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes8.java Thu May 21 10:56:36 2009 +0100 280.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes8.java Wed May 27 22:34:43 2009 -0700 280.3 @@ -25,7 +25,7 @@ 280.4 * @test 280.5 * @summary Test subtyping for wildcards with related type bounds. 280.6 * 280.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes8.java 280.8 + * @compile/fail AssignmentDifferentTypes8.java 280.9 */ 280.10 280.11 public class AssignmentDifferentTypes8 {
281.1 --- a/test/tools/javac/generics/wildcards/AssignmentDifferentTypes9.java Thu May 21 10:56:36 2009 +0100 281.2 +++ b/test/tools/javac/generics/wildcards/AssignmentDifferentTypes9.java Wed May 27 22:34:43 2009 -0700 281.3 @@ -25,7 +25,7 @@ 281.4 * @test 281.5 * @summary Test subtyping for wildcards with related type bounds. 281.6 * 281.7 - * @compile/fail -source 1.5 AssignmentDifferentTypes9.java 281.8 + * @compile/fail AssignmentDifferentTypes9.java 281.9 */ 281.10 281.11 public class AssignmentDifferentTypes9 {
282.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType1.java Thu May 21 10:56:36 2009 +0100 282.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType1.java Wed May 27 22:34:43 2009 -0700 282.3 @@ -25,7 +25,7 @@ 282.4 * @test 282.5 * @summary Test subtyping for wildcards with the same type bound. 282.6 * 282.7 - * @compile -source 1.5 AssignmentSameType1.java 282.8 + * @compile AssignmentSameType1.java 282.9 */ 282.10 282.11 public class AssignmentSameType1 {
283.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType2.java Thu May 21 10:56:36 2009 +0100 283.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType2.java Wed May 27 22:34:43 2009 -0700 283.3 @@ -25,7 +25,7 @@ 283.4 * @test 283.5 * @summary Test subtyping for wildcards with the same type bound. 283.6 * 283.7 - * @compile/fail -source 1.5 AssignmentSameType2.java 283.8 + * @compile/fail AssignmentSameType2.java 283.9 */ 283.10 283.11 public class AssignmentSameType2 {
284.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType3.java Thu May 21 10:56:36 2009 +0100 284.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType3.java Wed May 27 22:34:43 2009 -0700 284.3 @@ -25,7 +25,7 @@ 284.4 * @test 284.5 * @summary Test subtyping for wildcards with the same type bound. 284.6 * 284.7 - * @compile/fail -source 1.5 AssignmentSameType3.java 284.8 + * @compile/fail AssignmentSameType3.java 284.9 */ 284.10 284.11 public class AssignmentSameType3 {
285.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType4.java Thu May 21 10:56:36 2009 +0100 285.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType4.java Wed May 27 22:34:43 2009 -0700 285.3 @@ -25,7 +25,7 @@ 285.4 * @test 285.5 * @summary Test subtyping for wildcards with the same type bound. 285.6 * 285.7 - * @compile/fail -source 1.5 AssignmentSameType4.java 285.8 + * @compile/fail AssignmentSameType4.java 285.9 */ 285.10 285.11 public class AssignmentSameType4 {
286.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType5.java Thu May 21 10:56:36 2009 +0100 286.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType5.java Wed May 27 22:34:43 2009 -0700 286.3 @@ -25,7 +25,7 @@ 286.4 * @test 286.5 * @summary Test subtyping for wildcards with the same type bound. 286.6 * 286.7 - * @compile/fail -source 1.5 AssignmentSameType5.java 286.8 + * @compile/fail AssignmentSameType5.java 286.9 */ 286.10 286.11 public class AssignmentSameType5 {
287.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType6.java Thu May 21 10:56:36 2009 +0100 287.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType6.java Wed May 27 22:34:43 2009 -0700 287.3 @@ -25,7 +25,7 @@ 287.4 * @test 287.5 * @summary Test subtyping for wildcards with the same type bound. 287.6 * 287.7 - * @compile/fail -source 1.5 AssignmentSameType6.java 287.8 + * @compile/fail AssignmentSameType6.java 287.9 */ 287.10 287.11 public class AssignmentSameType6 {
288.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType7.java Thu May 21 10:56:36 2009 +0100 288.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType7.java Wed May 27 22:34:43 2009 -0700 288.3 @@ -25,7 +25,7 @@ 288.4 * @test 288.5 * @summary Test subtyping for wildcards with the same type bound. 288.6 * 288.7 - * @compile/fail -source 1.5 AssignmentSameType7.java 288.8 + * @compile/fail AssignmentSameType7.java 288.9 */ 288.10 288.11 public class AssignmentSameType7 {
289.1 --- a/test/tools/javac/generics/wildcards/AssignmentSameType8.java Thu May 21 10:56:36 2009 +0100 289.2 +++ b/test/tools/javac/generics/wildcards/AssignmentSameType8.java Wed May 27 22:34:43 2009 -0700 289.3 @@ -25,7 +25,7 @@ 289.4 * @test 289.5 * @summary Test subtyping for wildcards with the same type bound. 289.6 * 289.7 - * @compile/fail -source 1.5 AssignmentSameType8.java 289.8 + * @compile/fail AssignmentSameType8.java 289.9 */ 289.10 289.11 public class AssignmentSameType8 {
290.1 --- a/test/tools/javac/generics/wildcards/BoundBug.java Thu May 21 10:56:36 2009 +0100 290.2 +++ b/test/tools/javac/generics/wildcards/BoundBug.java Wed May 27 22:34:43 2009 -0700 290.3 @@ -27,7 +27,7 @@ 290.4 * @summary generics: used of ? get bound error 290.5 * @author gafter 290.6 * 290.7 - * @compile -source 1.5 BoundBug.java 290.8 + * @compile BoundBug.java 290.9 */ 290.10 290.11 class BoundBug {
291.1 --- a/test/tools/javac/generics/wildcards/ContraArg.java Thu May 21 10:56:36 2009 +0100 291.2 +++ b/test/tools/javac/generics/wildcards/ContraArg.java Wed May 27 22:34:43 2009 -0700 291.3 @@ -27,7 +27,7 @@ 291.4 * @summary generics: incorrect ambiguity error with super-bouded wildcards 291.5 * @author gafter 291.6 * 291.7 - * @compile -source 1.5 ContraArg.java 291.8 + * @compile ContraArg.java 291.9 */ 291.10 291.11 class ContraArg {
292.1 --- a/test/tools/javac/generics/wildcards/T5097548.java Thu May 21 10:56:36 2009 +0100 292.2 +++ b/test/tools/javac/generics/wildcards/T5097548.java Wed May 27 22:34:43 2009 -0700 292.3 @@ -26,7 +26,7 @@ 292.4 * @bug 5097548 292.5 * @summary (crash) Stack overflow in capture conversion 292.6 * @author Peter von der Ah\u00e9 292.7 - * @compile -source 5 T5097548.java 292.8 + * @compile T5097548.java 292.9 * @run main T5097548 292.10 */ 292.11
293.1 --- a/test/tools/javac/generics/wildcards/T5097548b.java Thu May 21 10:56:36 2009 +0100 293.2 +++ b/test/tools/javac/generics/wildcards/T5097548b.java Wed May 27 22:34:43 2009 -0700 293.3 @@ -26,7 +26,7 @@ 293.4 * @bug 5097548 293.5 * @summary Stack overflow in capture conversion 293.6 * @author Peter von der Ah\u00e9 293.7 - * @compile -source 5 T5097548b.java 293.8 + * @compile T5097548b.java 293.9 */ 293.10 293.11 interface Edge<N extends Node<? extends Edge<N>>> {
294.1 --- a/test/tools/javac/generics/wildcards/UnboundArray.java Thu May 21 10:56:36 2009 +0100 294.2 +++ b/test/tools/javac/generics/wildcards/UnboundArray.java Wed May 27 22:34:43 2009 -0700 294.3 @@ -27,7 +27,7 @@ 294.4 * @summary generics: allow arrays of unbounded generic types 294.5 * @author gafter 294.6 * 294.7 - * @compile -source 1.5 UnboundArray.java 294.8 + * @compile UnboundArray.java 294.9 */ 294.10 294.11 class C<E> {
295.1 --- a/test/tools/javac/generics/wildcards/neg/AmbiguousCast.java Thu May 21 10:56:36 2009 +0100 295.2 +++ b/test/tools/javac/generics/wildcards/neg/AmbiguousCast.java Wed May 27 22:34:43 2009 -0700 295.3 @@ -27,7 +27,7 @@ 295.4 * @summary cast to parameterized type is accepted although it should be rejected 295.5 * @author gafter 295.6 * 295.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked AmbiguousCast.java 295.8 + * @compile/fail -Werror -Xlint:unchecked AmbiguousCast.java 295.9 */ 295.10 295.11 class Test {
296.1 --- a/test/tools/javac/generics/wildcards/neg/Capture.java Thu May 21 10:56:36 2009 +0100 296.2 +++ b/test/tools/javac/generics/wildcards/neg/Capture.java Wed May 27 22:34:43 2009 -0700 296.3 @@ -27,7 +27,7 @@ 296.4 * @summary Wildcard capture 296.5 * @author gafter 296.6 * 296.7 - * @compile/fail -source 1.5 Capture.java 296.8 + * @compile/fail Capture.java 296.9 */ 296.10 296.11 class X<T> {}
297.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail1.java Thu May 21 10:56:36 2009 +0100 297.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail1.java Wed May 27 22:34:43 2009 -0700 297.3 @@ -27,7 +27,7 @@ 297.4 * @summary Test casts (legal, warning, and errors) 297.5 * @author gafter 297.6 * 297.7 - * @compile/fail -source 1.5 CastFail1.java 297.8 + * @compile/fail CastFail1.java 297.9 */ 297.10 297.11 import java.util.*;
298.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail10.java Thu May 21 10:56:36 2009 +0100 298.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail10.java Wed May 27 22:34:43 2009 -0700 298.3 @@ -27,7 +27,7 @@ 298.4 * @summary Test casts (legal, warning, and errors) 298.5 * @author gafter 298.6 * 298.7 - * @compile/fail -source 1.5 CastFail10.java 298.8 + * @compile/fail CastFail10.java 298.9 */ 298.10 298.11 import java.util.*;
299.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail11.java Thu May 21 10:56:36 2009 +0100 299.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail11.java Wed May 27 22:34:43 2009 -0700 299.3 @@ -27,7 +27,7 @@ 299.4 * @summary Test casts (legal, warning, and errors) 299.5 * @author gafter 299.6 * 299.7 - * @compile/fail -source 1.5 CastFail11.java 299.8 + * @compile/fail CastFail11.java 299.9 */ 299.10 299.11 import java.util.*;
300.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail12.java Thu May 21 10:56:36 2009 +0100 300.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail12.java Wed May 27 22:34:43 2009 -0700 300.3 @@ -27,7 +27,7 @@ 300.4 * @summary Test casts (legal, warning, and errors) 300.5 * @author gafter 300.6 * 300.7 - * @compile/fail -source 1.5 CastFail12.java 300.8 + * @compile/fail CastFail12.java 300.9 */ 300.10 300.11 import java.util.*;
301.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail13.java Thu May 21 10:56:36 2009 +0100 301.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail13.java Wed May 27 22:34:43 2009 -0700 301.3 @@ -27,7 +27,7 @@ 301.4 * @summary Test casts (legal, warning, and errors) 301.5 * @author gafter 301.6 * 301.7 - * @compile/fail -source 1.5 CastFail13.java 301.8 + * @compile/fail CastFail13.java 301.9 */ 301.10 301.11 import java.util.*;
302.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail14.java Thu May 21 10:56:36 2009 +0100 302.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail14.java Wed May 27 22:34:43 2009 -0700 302.3 @@ -27,7 +27,7 @@ 302.4 * @summary Test casts (legal, warning, and errors) 302.5 * @author gafter 302.6 * 302.7 - * @compile/fail -source 1.5 CastFail14.java 302.8 + * @compile/fail CastFail14.java 302.9 */ 302.10 302.11 import java.util.*;
303.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail15.java Thu May 21 10:56:36 2009 +0100 303.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail15.java Wed May 27 22:34:43 2009 -0700 303.3 @@ -27,7 +27,7 @@ 303.4 * @summary Test casts (legal, warning, and errors) 303.5 * @author gafter 303.6 * 303.7 - * @compile/fail -source 1.5 CastFail15.java 303.8 + * @compile/fail CastFail15.java 303.9 */ 303.10 303.11 import java.util.*;
304.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail16.java Thu May 21 10:56:36 2009 +0100 304.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail16.java Wed May 27 22:34:43 2009 -0700 304.3 @@ -27,7 +27,7 @@ 304.4 * @summary Test casts (legal, warning, and errors) 304.5 * @author gafter 304.6 * 304.7 - * @compile/fail -source 1.5 CastFail16.java 304.8 + * @compile/fail CastFail16.java 304.9 */ 304.10 304.11 import java.util.*;
305.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail17.java Thu May 21 10:56:36 2009 +0100 305.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail17.java Wed May 27 22:34:43 2009 -0700 305.3 @@ -27,7 +27,7 @@ 305.4 * @summary Test casts (legal, warning, and errors) 305.5 * @author gafter 305.6 * 305.7 - * @compile/fail -source 1.5 CastFail17.java 305.8 + * @compile/fail CastFail17.java 305.9 */ 305.10 305.11 import java.util.*;
306.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail18.java Thu May 21 10:56:36 2009 +0100 306.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail18.java Wed May 27 22:34:43 2009 -0700 306.3 @@ -27,7 +27,7 @@ 306.4 * @summary Test casts (legal, warning, and errors) 306.5 * @author gafter 306.6 * 306.7 - * @compile/fail -source 1.5 CastFail18.java 306.8 + * @compile/fail CastFail18.java 306.9 */ 306.10 306.11 import java.util.*;
307.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail19.java Thu May 21 10:56:36 2009 +0100 307.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail19.java Wed May 27 22:34:43 2009 -0700 307.3 @@ -27,7 +27,7 @@ 307.4 * @summary Test casts (legal, warning, and errors) 307.5 * @author gafter 307.6 * 307.7 - * @compile/fail -source 1.5 CastFail19.java 307.8 + * @compile/fail CastFail19.java 307.9 */ 307.10 307.11 import java.util.*;
308.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail2.java Thu May 21 10:56:36 2009 +0100 308.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail2.java Wed May 27 22:34:43 2009 -0700 308.3 @@ -27,7 +27,7 @@ 308.4 * @summary Test casts (legal, warning, and errors) 308.5 * @author gafter 308.6 * 308.7 - * @compile/fail -source 1.5 CastFail2.java 308.8 + * @compile/fail CastFail2.java 308.9 */ 308.10 308.11 import java.util.*;
309.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail20.java Thu May 21 10:56:36 2009 +0100 309.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail20.java Wed May 27 22:34:43 2009 -0700 309.3 @@ -27,7 +27,7 @@ 309.4 * @summary Test casts (legal, warning, and errors) 309.5 * @author gafter 309.6 * 309.7 - * @compile/fail -source 1.5 CastFail20.java 309.8 + * @compile/fail CastFail20.java 309.9 */ 309.10 309.11 import java.util.*;
310.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail21.java Thu May 21 10:56:36 2009 +0100 310.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail21.java Wed May 27 22:34:43 2009 -0700 310.3 @@ -27,7 +27,7 @@ 310.4 * @summary Test casts (legal, warning, and errors) 310.5 * @author gafter 310.6 * 310.7 - * @compile/fail -source 1.5 CastFail20.java 310.8 + * @compile/fail CastFail20.java 310.9 */ 310.10 310.11 import java.util.*;
311.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail3.java Thu May 21 10:56:36 2009 +0100 311.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail3.java Wed May 27 22:34:43 2009 -0700 311.3 @@ -27,7 +27,7 @@ 311.4 * @summary Test casts (legal, warning, and errors) 311.5 * @author gafter 311.6 * 311.7 - * @compile/fail -source 1.5 CastFail3.java 311.8 + * @compile/fail CastFail3.java 311.9 */ 311.10 311.11 import java.util.*;
312.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail4.java Thu May 21 10:56:36 2009 +0100 312.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail4.java Wed May 27 22:34:43 2009 -0700 312.3 @@ -27,7 +27,7 @@ 312.4 * @summary Test casts (legal, warning, and errors) 312.5 * @author gafter 312.6 * 312.7 - * @compile/fail -source 1.5 CastFail4.java 312.8 + * @compile/fail CastFail4.java 312.9 */ 312.10 312.11 import java.util.*;
313.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail5.java Thu May 21 10:56:36 2009 +0100 313.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail5.java Wed May 27 22:34:43 2009 -0700 313.3 @@ -27,7 +27,7 @@ 313.4 * @summary Test casts (legal, warning, and errors) 313.5 * @author gafter 313.6 * 313.7 - * @compile/fail -source 1.5 CastFail5.java 313.8 + * @compile/fail CastFail5.java 313.9 */ 313.10 313.11 import java.util.*;
314.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail6.java Thu May 21 10:56:36 2009 +0100 314.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail6.java Wed May 27 22:34:43 2009 -0700 314.3 @@ -27,7 +27,7 @@ 314.4 * @summary Test casts (legal, warning, and errors) 314.5 * @author gafter 314.6 * 314.7 - * @compile/fail -source 1.5 CastFail6.java 314.8 + * @compile/fail CastFail6.java 314.9 */ 314.10 314.11 import java.util.*;
315.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail7.java Thu May 21 10:56:36 2009 +0100 315.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail7.java Wed May 27 22:34:43 2009 -0700 315.3 @@ -27,7 +27,7 @@ 315.4 * @summary Test casts (legal, warning, and errors) 315.5 * @author gafter 315.6 * 315.7 - * @compile/fail -source 1.5 CastFail7.java 315.8 + * @compile/fail CastFail7.java 315.9 */ 315.10 315.11 import java.util.*;
316.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail8.java Thu May 21 10:56:36 2009 +0100 316.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail8.java Wed May 27 22:34:43 2009 -0700 316.3 @@ -27,7 +27,7 @@ 316.4 * @summary Test casts (legal, warning, and errors) 316.5 * @author gafter 316.6 * 316.7 - * @compile/fail -source 1.5 CastFail8.java 316.8 + * @compile/fail CastFail8.java 316.9 */ 316.10 316.11 import java.util.*;
317.1 --- a/test/tools/javac/generics/wildcards/neg/CastFail9.java Thu May 21 10:56:36 2009 +0100 317.2 +++ b/test/tools/javac/generics/wildcards/neg/CastFail9.java Wed May 27 22:34:43 2009 -0700 317.3 @@ -27,7 +27,7 @@ 317.4 * @summary Test casts (legal, warning, and errors) 317.5 * @author gafter 317.6 * 317.7 - * @compile/fail -source 1.5 CastFail9.java 317.8 + * @compile/fail CastFail9.java 317.9 */ 317.10 317.11 import java.util.*;
318.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn10.java Thu May 21 10:56:36 2009 +0100 318.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn10.java Wed May 27 22:34:43 2009 -0700 318.3 @@ -27,7 +27,7 @@ 318.4 * @summary Test casts (legal, warning, and errors) 318.5 * @author gafter 318.6 * 318.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn10.java 318.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn10.java 318.9 */ 318.10 318.11 import java.util.*;
319.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn11.java Thu May 21 10:56:36 2009 +0100 319.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn11.java Wed May 27 22:34:43 2009 -0700 319.3 @@ -27,7 +27,7 @@ 319.4 * @summary Test casts (legal, warning, and errors) 319.5 * @author gafter 319.6 * 319.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn11.java 319.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn11.java 319.9 */ 319.10 319.11 import java.util.*;
320.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn12.java Thu May 21 10:56:36 2009 +0100 320.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn12.java Wed May 27 22:34:43 2009 -0700 320.3 @@ -27,7 +27,7 @@ 320.4 * @summary Test casts (legal, warning, and errors) 320.5 * @author gafter 320.6 * 320.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn12.java 320.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn12.java 320.9 */ 320.10 320.11 import java.util.*;
321.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn13.java Thu May 21 10:56:36 2009 +0100 321.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn13.java Wed May 27 22:34:43 2009 -0700 321.3 @@ -27,7 +27,7 @@ 321.4 * @summary Test casts (legal, warning, and errors) 321.5 * @author gafter 321.6 * 321.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn13.java 321.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn13.java 321.9 */ 321.10 321.11 import java.util.*;
322.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn14.java Thu May 21 10:56:36 2009 +0100 322.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn14.java Wed May 27 22:34:43 2009 -0700 322.3 @@ -27,7 +27,7 @@ 322.4 * @summary Test casts (legal, warning, and errors) 322.5 * @author gafter 322.6 * 322.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn14.java 322.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn14.java 322.9 */ 322.10 322.11 import java.util.*;
323.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn2.java Thu May 21 10:56:36 2009 +0100 323.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn2.java Wed May 27 22:34:43 2009 -0700 323.3 @@ -27,7 +27,7 @@ 323.4 * @summary Test casts (legal, warning, and errors) 323.5 * @author gafter 323.6 * 323.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn2.java 323.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn2.java 323.9 */ 323.10 323.11 import java.util.*;
324.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn3.java Thu May 21 10:56:36 2009 +0100 324.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn3.java Wed May 27 22:34:43 2009 -0700 324.3 @@ -27,7 +27,7 @@ 324.4 * @summary Test casts (legal, warning, and errors) 324.5 * @author gafter 324.6 * 324.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn3.java 324.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn3.java 324.9 */ 324.10 324.11 import java.util.*;
325.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn4.java Thu May 21 10:56:36 2009 +0100 325.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn4.java Wed May 27 22:34:43 2009 -0700 325.3 @@ -27,7 +27,7 @@ 325.4 * @summary Test casts (legal, warning, and errors) 325.5 * @author gafter 325.6 * 325.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn4.java 325.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn4.java 325.9 */ 325.10 325.11 import java.util.*;
326.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn5.java Thu May 21 10:56:36 2009 +0100 326.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn5.java Wed May 27 22:34:43 2009 -0700 326.3 @@ -27,7 +27,7 @@ 326.4 * @summary Test casts (legal, warning, and errors) 326.5 * @author gafter 326.6 * 326.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn5.java 326.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn5.java 326.9 */ 326.10 326.11 import java.util.*;
327.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn6.java Thu May 21 10:56:36 2009 +0100 327.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn6.java Wed May 27 22:34:43 2009 -0700 327.3 @@ -27,7 +27,7 @@ 327.4 * @summary Test casts (legal, warning, and errors) 327.5 * @author gafter 327.6 * 327.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn6.java 327.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn6.java 327.9 */ 327.10 327.11 import java.util.*;
328.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn7.java Thu May 21 10:56:36 2009 +0100 328.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn7.java Wed May 27 22:34:43 2009 -0700 328.3 @@ -27,7 +27,7 @@ 328.4 * @summary Test casts (legal, warning, and errors) 328.5 * @author gafter 328.6 * 328.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn7.java 328.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn7.java 328.9 */ 328.10 328.11 import java.util.*;
329.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn8.java Thu May 21 10:56:36 2009 +0100 329.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn8.java Wed May 27 22:34:43 2009 -0700 329.3 @@ -27,7 +27,7 @@ 329.4 * @summary Test casts (legal, warning, and errors) 329.5 * @author gafter 329.6 * 329.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn8.java 329.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn8.java 329.9 */ 329.10 329.11 import java.util.*;
330.1 --- a/test/tools/javac/generics/wildcards/neg/CastWarn9.java Thu May 21 10:56:36 2009 +0100 330.2 +++ b/test/tools/javac/generics/wildcards/neg/CastWarn9.java Wed May 27 22:34:43 2009 -0700 330.3 @@ -27,7 +27,7 @@ 330.4 * @summary Test casts (legal, warning, and errors) 330.5 * @author gafter 330.6 * 330.7 - * @compile/fail -source 1.5 -Werror -Xlint:unchecked CastWarn9.java 330.8 + * @compile/fail -Werror -Xlint:unchecked CastWarn9.java 330.9 */ 330.10 330.11 import java.util.*;
331.1 --- a/test/tools/javac/generics/wildcards/neg/ParamCast.java Thu May 21 10:56:36 2009 +0100 331.2 +++ b/test/tools/javac/generics/wildcards/neg/ParamCast.java Wed May 27 22:34:43 2009 -0700 331.3 @@ -27,7 +27,7 @@ 331.4 * @summary Description 331.5 * @author gafter 331.6 * 331.7 - * @compile/fail -source 1.5 ParamCast.java 331.8 + * @compile/fail ParamCast.java 331.9 */ 331.10 331.11 class A<T> {}
332.1 --- a/test/tools/javac/generics/wildcards/neg/Readonly.java Thu May 21 10:56:36 2009 +0100 332.2 +++ b/test/tools/javac/generics/wildcards/neg/Readonly.java Wed May 27 22:34:43 2009 -0700 332.3 @@ -27,7 +27,7 @@ 332.4 * @summary an extends-bound (covariant) wildcard is like readonly 332.5 * @author gafter 332.6 * 332.7 - * @compile/fail -source 1.5 Readonly.java 332.8 + * @compile/fail Readonly.java 332.9 */ 332.10 332.11 class Err<T> {
333.1 --- a/test/tools/javac/generics/wildcards/neg/Unbounded.java Thu May 21 10:56:36 2009 +0100 333.2 +++ b/test/tools/javac/generics/wildcards/neg/Unbounded.java Wed May 27 22:34:43 2009 -0700 333.3 @@ -27,7 +27,7 @@ 333.4 * @summary an unbounded (bivariant) wildcard doesn't allow reading 333.5 * @author gafter 333.6 * 333.7 - * @compile/fail -source 1.5 Unbounded.java 333.8 + * @compile/fail Unbounded.java 333.9 */ 333.10 333.11 import java.util.Stack;
334.1 --- a/test/tools/javac/generics/wildcards/pos/AmbiguousCast2.java Thu May 21 10:56:36 2009 +0100 334.2 +++ b/test/tools/javac/generics/wildcards/pos/AmbiguousCast2.java Wed May 27 22:34:43 2009 -0700 334.3 @@ -27,7 +27,7 @@ 334.4 * @summary generics: unable to cast between two convertible types 334.5 * @author gafter 334.6 * 334.7 - * @compile -source 1.5 AmbiguousCast2.java 334.8 + * @compile AmbiguousCast2.java 334.9 */ 334.10 334.11 import java.lang.ref.*;
335.1 --- a/test/tools/javac/generics/wildcards/pos/BoundsCollision.java Thu May 21 10:56:36 2009 +0100 335.2 +++ b/test/tools/javac/generics/wildcards/pos/BoundsCollision.java Wed May 27 22:34:43 2009 -0700 335.3 @@ -27,7 +27,7 @@ 335.4 * @summary when upper bounds and lower bounds collide 335.5 * @author gafter 335.6 * 335.7 - * @compile -source 1.5 -Werror BoundsCollision.java 335.8 + * @compile -Werror BoundsCollision.java 335.9 */ 335.10 335.11 class StreinBug {
336.1 --- a/test/tools/javac/generics/wildcards/pos/Capture.java Thu May 21 10:56:36 2009 +0100 336.2 +++ b/test/tools/javac/generics/wildcards/pos/Capture.java Wed May 27 22:34:43 2009 -0700 336.3 @@ -27,7 +27,7 @@ 336.4 * @summary Wildcard capture 336.5 * @author gafter 336.6 * 336.7 - * @compile -source 1.5 -Werror Capture.java 336.8 + * @compile -Werror Capture.java 336.9 */ 336.10 336.11 class X<T> {}
337.1 --- a/test/tools/javac/generics/wildcards/pos/CastTest.java Thu May 21 10:56:36 2009 +0100 337.2 +++ b/test/tools/javac/generics/wildcards/pos/CastTest.java Wed May 27 22:34:43 2009 -0700 337.3 @@ -27,7 +27,7 @@ 337.4 * @summary Test casts (legal, warning, and errors) 337.5 * @author gafter 337.6 * 337.7 - * @compile -source 1.5 -Werror CastTest.java 337.8 + * @compile -Werror CastTest.java 337.9 */ 337.10 337.11 import java.util.*;
338.1 --- a/test/tools/javac/generics/wildcards/pos/InstanceOf.java Thu May 21 10:56:36 2009 +0100 338.2 +++ b/test/tools/javac/generics/wildcards/pos/InstanceOf.java Wed May 27 22:34:43 2009 -0700 338.3 @@ -27,7 +27,7 @@ 338.4 * @summary generics: type cast with instance of 338.5 * @author gafter 338.6 * 338.7 - * @compile -source 1.5 -Werror InstanceOf.java 338.8 + * @compile -Werror InstanceOf.java 338.9 */ 338.10 338.11 class InstanceOf<T> {
339.1 --- a/test/tools/javac/generics/wildcards/pos/ParamCast.java Thu May 21 10:56:36 2009 +0100 339.2 +++ b/test/tools/javac/generics/wildcards/pos/ParamCast.java Wed May 27 22:34:43 2009 -0700 339.3 @@ -27,7 +27,7 @@ 339.4 * @summary integrate improved wildcard substitution from CPH 339.5 * @author gafter 339.6 * 339.7 - * @compile -source 1.5 -Werror -Xlint:unchecked ParamCast.java 339.8 + * @compile -Werror -Xlint:unchecked ParamCast.java 339.9 */ 339.10 339.11 class A<T> {}
340.1 --- a/test/tools/javac/generics/wildcards/pos/RvalConversion.java Thu May 21 10:56:36 2009 +0100 340.2 +++ b/test/tools/javac/generics/wildcards/pos/RvalConversion.java Wed May 27 22:34:43 2009 -0700 340.3 @@ -27,7 +27,7 @@ 340.4 * @summary rvalue conversion changes "? extends X" to "X". 340.5 * @author gafter 340.6 * 340.7 - * @compile -source 1.5 RvalConversion.java 340.8 + * @compile RvalConversion.java 340.9 */ 340.10 340.11 import java.util.*;
341.1 --- a/test/tools/javac/generics/wildcards/pos/UncheckedCast1.java Thu May 21 10:56:36 2009 +0100 341.2 +++ b/test/tools/javac/generics/wildcards/pos/UncheckedCast1.java Wed May 27 22:34:43 2009 -0700 341.3 @@ -27,7 +27,7 @@ 341.4 * @summary generics: failure of some unchecked casts 341.5 * @author gafter 341.6 * 341.7 - * @compile -source 1.5 UncheckedCast1.java 341.8 + * @compile UncheckedCast1.java 341.9 */ 341.10 341.11 class Z {
342.1 --- a/test/tools/javac/importscope/A.java Thu May 21 10:56:36 2009 +0100 342.2 +++ b/test/tools/javac/importscope/A.java Wed May 27 22:34:43 2009 -0700 342.3 @@ -27,7 +27,7 @@ 342.4 * @summary static import of private field crashes compiler 342.5 * @author gafter 342.6 * 342.7 - * @compile -source 1.5 A.java B.java 342.8 + * @compile A.java B.java 342.9 */ 342.10 342.11 package p1;
343.1 --- a/test/tools/javac/limits/FinallyNesting.java Thu May 21 10:56:36 2009 +0100 343.2 +++ b/test/tools/javac/limits/FinallyNesting.java Wed May 27 22:34:43 2009 -0700 343.3 @@ -29,7 +29,7 @@ 343.4 * 343.5 * @compile -source 1.4 -target 1.4 FinallyNesting.java 343.6 */ 343.7 - 343.8 +// Source and target 1.4 are needed for the test to pass with default memory sizes. 343.9 class FinallyNesting { 343.10 public static void main(String[] args) { 343.11 int x;
344.1 --- a/test/tools/javac/lint/Unchecked.java Thu May 21 10:56:36 2009 +0100 344.2 +++ b/test/tools/javac/lint/Unchecked.java Wed May 27 22:34:43 2009 -0700 344.3 @@ -27,7 +27,7 @@ 344.4 * @summary Add -Xlint flag 344.5 * @author gafter 344.6 * 344.7 - * @compile/fail -source 1.5 -Xlint:unchecked -Werror Unchecked.java 344.8 + * @compile/fail -Xlint:unchecked -Werror Unchecked.java 344.9 */ 344.10 344.11 class Unchecked<T> {
345.1 --- a/test/tools/javac/miranda/T4711325.java Thu May 21 10:56:36 2009 +0100 345.2 +++ b/test/tools/javac/miranda/T4711325.java Wed May 27 22:34:43 2009 -0700 345.3 @@ -27,7 +27,7 @@ 345.4 * @summary compiler allows unimplementable interfaces 345.5 * @author gafter 345.6 * 345.7 - * @compile -source 1.5 T4711325.java 345.8 + * @compile T4711325.java 345.9 * @compile/fail -source 1.4 T4711325.java 345.10 */ 345.11
346.1 --- a/test/tools/javac/mixedTarget/CompatibleAbstracts1.java Thu May 21 10:56:36 2009 +0100 346.2 +++ b/test/tools/javac/mixedTarget/CompatibleAbstracts1.java Wed May 27 22:34:43 2009 -0700 346.3 @@ -27,14 +27,14 @@ 346.4 * @summary 1.4 javac should not accept the Covariant Return Type 346.5 * @author gafter 346.6 * 346.7 - * @compile -source 1.5 CompatibleAbstracts1.java 346.8 - * @compile -source 1.5 CompatibleAbstracts2.java 346.9 + * @compile CompatibleAbstracts1.java 346.10 + * @compile CompatibleAbstracts2.java 346.11 * @compile -source 1.4 CompatibleAbstracts2.java 346.12 - * @compile -source 1.5 CompatibleAbstracts3.java 346.13 + * @compile CompatibleAbstracts3.java 346.14 * @compile/fail -source 1.4 CompatibleAbstracts3.java 346.15 - * @compile -source 1.5 CompatibleAbstracts4.java 346.16 + * @compile CompatibleAbstracts4.java 346.17 * @compile/fail -source 1.4 CompatibleAbstracts4.java 346.18 - * @compile -source 1.5 CompatibleAbstracts5.java 346.19 + * @compile CompatibleAbstracts5.java 346.20 * @compile/fail -source 1.4 CompatibleAbstracts5.java 346.21 */ 346.22
347.1 --- a/test/tools/javac/mixedTarget/ExtendCovariant2.java Thu May 21 10:56:36 2009 +0100 347.2 +++ b/test/tools/javac/mixedTarget/ExtendCovariant2.java Wed May 27 22:34:43 2009 -0700 347.3 @@ -28,7 +28,7 @@ 347.4 * @author gafter 347.5 * 347.6 * @compile/fail -source 1.4 ExtendCovariant2.java 347.7 - * @compile -source 1.5 ExtendCovariant2.java 347.8 + * @compile ExtendCovariant2.java 347.9 */ 347.10 347.11 /**
348.1 --- a/test/tools/javac/overload/T5090220.java Thu May 21 10:56:36 2009 +0100 348.2 +++ b/test/tools/javac/overload/T5090220.java Wed May 27 22:34:43 2009 -0700 348.3 @@ -25,7 +25,7 @@ 348.4 * @test 348.5 * @bug 5090220 348.6 * @summary Autoboxing applied when calculating most-specific method 348.7 - * @compile/fail -source 5 T5090220.java 348.8 + * @compile/fail T5090220.java 348.9 */ 348.10 348.11 class T5090220 {
349.1 --- a/test/tools/javac/processing/environment/TestSourceVersion.java Thu May 21 10:56:36 2009 +0100 349.2 +++ b/test/tools/javac/processing/environment/TestSourceVersion.java Wed May 27 22:34:43 2009 -0700 349.3 @@ -34,6 +34,8 @@ 349.4 * @compile -processor TestSourceVersion -proc:only -source 5 -AExpectedVersion=RELEASE_5 HelloWorld.java 349.5 * @compile -processor TestSourceVersion -proc:only -source 1.6 -AExpectedVersion=RELEASE_6 HelloWorld.java 349.6 * @compile -processor TestSourceVersion -proc:only -source 6 -AExpectedVersion=RELEASE_6 HelloWorld.java 349.7 + * @compile -processor TestSourceVersion -proc:only -source 1.7 -AExpectedVersion=RELEASE_7 HelloWorld.java 349.8 + * @compile -processor TestSourceVersion -proc:only -source 7 -AExpectedVersion=RELEASE_7 HelloWorld.java 349.9 */ 349.10 349.11 import java.util.Set;
350.1 --- a/test/tools/javac/stackmap/UninitThis.java Thu May 21 10:56:36 2009 +0100 350.2 +++ b/test/tools/javac/stackmap/UninitThis.java Wed May 27 22:34:43 2009 -0700 350.3 @@ -26,9 +26,6 @@ 350.4 * @bug 4948063 350.5 * @summary Invalid java.io.FileInputStream with v49 generate by javac 350.6 * @author gafter 350.7 - * 350.8 - * @compile -source 1.5 -target 1.5 UninitThis.java 350.9 - * @run main UninitThis 350.10 */ 350.11 350.12 // may fail due to VM bug 4948729
351.1 --- a/test/tools/javac/staticImport/Ambig1.java Thu May 21 10:56:36 2009 +0100 351.2 +++ b/test/tools/javac/staticImport/Ambig1.java Wed May 27 22:34:43 2009 -0700 351.3 @@ -27,7 +27,7 @@ 351.4 * @summary Missing ambiguity error when two methods are equally specific 351.5 * @author gafter 351.6 * 351.7 - * @compile/fail -source 1.5 Ambig1.java 351.8 + * @compile/fail Ambig1.java 351.9 */ 351.10 351.11 package ambig1;
352.1 --- a/test/tools/javac/staticImport/ImportInherit.java Thu May 21 10:56:36 2009 +0100 352.2 +++ b/test/tools/javac/staticImport/ImportInherit.java Wed May 27 22:34:43 2009 -0700 352.3 @@ -27,7 +27,7 @@ 352.4 * @summary static import versus inherited members 352.5 * @author gafter 352.6 * 352.7 - * @compile -source 1.5 ImportInherit.java 352.8 + * @compile ImportInherit.java 352.9 */ 352.10 352.11 package importInherit;
353.1 --- a/test/tools/javac/staticImport/ImportPrivate.java Thu May 21 10:56:36 2009 +0100 353.2 +++ b/test/tools/javac/staticImport/ImportPrivate.java Wed May 27 22:34:43 2009 -0700 353.3 @@ -27,7 +27,7 @@ 353.4 * @summary NPE while compiling static import of inaccessible class member 353.5 * @author gafter 353.6 * 353.7 - * @compile/fail -source 1.5 ImportPrivate.java 353.8 + * @compile/fail ImportPrivate.java 353.9 */ 353.10 353.11 package importPrivate;
354.1 --- a/test/tools/javac/staticImport/PrivateStaticImport.java Thu May 21 10:56:36 2009 +0100 354.2 +++ b/test/tools/javac/staticImport/PrivateStaticImport.java Wed May 27 22:34:43 2009 -0700 354.3 @@ -27,7 +27,7 @@ 354.4 * @summary static import of private field crashes compiler 354.5 * @author gafter 354.6 * 354.7 - * @compile/fail -source 1.5 PrivateStaticImport.java 354.8 + * @compile/fail PrivateStaticImport.java 354.9 */ 354.10 354.11 package psi;
355.1 --- a/test/tools/javac/staticImport/Shadow.java Thu May 21 10:56:36 2009 +0100 355.2 +++ b/test/tools/javac/staticImport/Shadow.java Wed May 27 22:34:43 2009 -0700 355.3 @@ -27,7 +27,7 @@ 355.4 * @summary compiler fails to shadow inapplicable method with static import 355.5 * @author gafter 355.6 * 355.7 - * @compile/fail -source 1.5 Shadow.java 355.8 + * @compile/fail Shadow.java 355.9 */ 355.10 355.11 package shadow;
356.1 --- a/test/tools/javac/staticImport/StaticImport.java Thu May 21 10:56:36 2009 +0100 356.2 +++ b/test/tools/javac/staticImport/StaticImport.java Wed May 27 22:34:43 2009 -0700 356.3 @@ -27,7 +27,7 @@ 356.4 * @summary add support for JSR 201's static import facility 356.5 * @author gafter 356.6 * 356.7 - * @compile -source 1.5 StaticImport.java 356.8 + * @compile StaticImport.java 356.9 * @run main StaticImport 356.10 */ 356.11
357.1 --- a/test/tools/javac/staticImport/StaticImport2.java Thu May 21 10:56:36 2009 +0100 357.2 +++ b/test/tools/javac/staticImport/StaticImport2.java Wed May 27 22:34:43 2009 -0700 357.3 @@ -27,7 +27,7 @@ 357.4 * @summary add support for JSR 201's static import facility 357.5 * @author gafter 357.6 * 357.7 - * @compile/fail -source 1.5 StaticImport2.java 357.8 + * @compile/fail StaticImport2.java 357.9 */ 357.10 357.11 package p;
358.1 --- a/test/tools/javac/unicode/Unmappable.java Thu May 21 10:56:36 2009 +0100 358.2 +++ b/test/tools/javac/unicode/Unmappable.java Wed May 27 22:34:43 2009 -0700 358.3 @@ -29,7 +29,7 @@ 358.4 * 358.5 * @compile -encoding ascii -source 1.5 Unmappable.java 358.6 * @compile/fail -Werror -encoding ascii -source 1.5 Unmappable.java 358.7 - * @compile/fail -encoding ascii -source 6 Unmappable.java 358.8 + * @compile/fail -encoding ascii Unmappable.java 358.9 */ 358.10 358.11 // example from 4766897
359.1 --- a/test/tools/javac/varargs/Anon.java Thu May 21 10:56:36 2009 +0100 359.2 +++ b/test/tools/javac/varargs/Anon.java Wed May 27 22:34:43 2009 -0700 359.3 @@ -27,7 +27,7 @@ 359.4 * @summary varargs versus anonymous constructors crashes javac 359.5 * @author gafter 359.6 * 359.7 - * @compile -source 1.5 Anon.java 359.8 + * @compile Anon.java 359.9 */ 359.10 359.11 class Anon {
360.1 --- a/test/tools/javac/varargs/BadSyntax2.java Thu May 21 10:56:36 2009 +0100 360.2 +++ b/test/tools/javac/varargs/BadSyntax2.java Wed May 27 22:34:43 2009 -0700 360.3 @@ -27,7 +27,7 @@ 360.4 * @summary generic class method with vararg gets "java.lang.AssertionError: arraycode T" 360.5 * @author gafter 360.6 * 360.7 - * @compile -source 1.5 BadSyntax2.java 360.8 + * @compile BadSyntax2.java 360.9 */ 360.10 360.11 class Tclass<T> {
361.1 --- a/test/tools/javac/varargs/Varargs1.java Thu May 21 10:56:36 2009 +0100 361.2 +++ b/test/tools/javac/varargs/Varargs1.java Wed May 27 22:34:43 2009 -0700 361.3 @@ -27,7 +27,7 @@ 361.4 * @summary varags, auto boxing 361.5 * @author gafter 361.6 * 361.7 - * @compile -source 1.5 Varargs1.java 361.8 + * @compile Varargs1.java 361.9 * @run main Varargs1 361.10 */ 361.11
362.1 --- a/test/tools/javac/varargs/VarargsOverride.java Thu May 21 10:56:36 2009 +0100 362.2 +++ b/test/tools/javac/varargs/VarargsOverride.java Wed May 27 22:34:43 2009 -0700 362.3 @@ -27,8 +27,8 @@ 362.4 * @summary overriding with method of different arity is prohibited 362.5 * @author gafter 362.6 * 362.7 - * @compile -source 1.5 VarargsOverride.java 362.8 - * @compile/fail -source 1.5 -Werror -Xlint VarargsOverride.java 362.9 + * @compile VarargsOverride.java 362.10 + * @compile/fail -Werror -Xlint VarargsOverride.java 362.11 */ 362.12 362.13 package varargs.override;
363.1 --- a/test/tools/javac/varargs/Warn1.java Thu May 21 10:56:36 2009 +0100 363.2 +++ b/test/tools/javac/varargs/Warn1.java Wed May 27 22:34:43 2009 -0700 363.3 @@ -27,9 +27,9 @@ 363.4 * @summary need warning if varargs argument isn't boxed 363.5 * @author gafter 363.6 * 363.7 - * @compile -source 1.5 Warn1.java 363.8 - * @compile/fail -source 1.5 -Werror Warn1.java 363.9 - * @compile -source 1.5 -Werror -Xlint:none Warn1.java 363.10 + * @compile Warn1.java 363.11 + * @compile/fail -Werror Warn1.java 363.12 + * @compile -Werror -Xlint:none Warn1.java 363.13 */ 363.14 363.15 package varargs.warn1;
364.1 --- a/test/tools/javac/varargs/Warn2.java Thu May 21 10:56:36 2009 +0100 364.2 +++ b/test/tools/javac/varargs/Warn2.java Wed May 27 22:34:43 2009 -0700 364.3 @@ -27,9 +27,9 @@ 364.4 * @summary need warning if varargs argument isn't boxed 364.5 * @author gafter 364.6 * 364.7 - * @compile -source 1.5 Warn2.java 364.8 - * @compile/fail -source 1.5 -Werror Warn2.java 364.9 - * @compile -source 1.5 -Werror -Xlint:none Warn2.java 364.10 + * @compile Warn2.java 364.11 + * @compile/fail -Werror Warn2.java 364.12 + * @compile -Werror -Xlint:none Warn2.java 364.13 */ 364.14 364.15 package varargs.warn2;
365.1 --- a/test/tools/javac/varargs/warning/Warn2.java Thu May 21 10:56:36 2009 +0100 365.2 +++ b/test/tools/javac/varargs/warning/Warn2.java Wed May 27 22:34:43 2009 -0700 365.3 @@ -27,7 +27,7 @@ 365.4 * @summary fixed-arity warning given too often 365.5 * @author gafter 365.6 * 365.7 - * @compile -Werror -source 1.5 Warn2.java 365.8 + * @compile -Werror Warn2.java 365.9 */ 365.10 365.11 package varargs.warning.warn2;
366.1 --- a/test/tools/javac/varargs/warning/Warn3.java Thu May 21 10:56:36 2009 +0100 366.2 +++ b/test/tools/javac/varargs/warning/Warn3.java Wed May 27 22:34:43 2009 -0700 366.3 @@ -27,7 +27,7 @@ 366.4 * @summary fixed-arity warning given too often 366.5 * @author gafter 366.6 * 366.7 - * @compile -Werror -source 1.5 Warn3.java 366.8 + * @compile -Werror Warn3.java 366.9 */ 366.10 366.11 package varargs.warning.warn3;
367.1 --- a/test/tools/javadoc/LangVers.java Thu May 21 10:56:36 2009 +0100 367.2 +++ b/test/tools/javadoc/LangVers.java Wed May 27 22:34:43 2009 -0700 367.3 @@ -26,8 +26,6 @@ 367.4 * @bug 4909767 367.5 * @summary Verify that omitting Doclet.languageVersion() hides 1.5 language 367.6 * features from the doclet. 367.7 - * @compile -source 1.5 LangVers.java 367.8 - * @run main LangVers 367.9 */ 367.10 367.11 import java.util.List;
368.1 --- a/test/tools/javadoc/annotations/annotateMethodsFields/Main.java Thu May 21 10:56:36 2009 +0100 368.2 +++ b/test/tools/javadoc/annotations/annotateMethodsFields/Main.java Wed May 27 22:34:43 2009 -0700 368.3 @@ -28,7 +28,7 @@ 368.4 * annotation type elements. 368.5 * Test an annotation type with a type nested within. 368.6 * @library ../../lib 368.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 368.8 + * @compile ../../lib/Tester.java Main.java 368.9 * @run main Main 368.10 */ 368.11
369.1 --- a/test/tools/javadoc/annotations/annotatePackage/Main.java Thu May 21 10:56:36 2009 +0100 369.2 +++ b/test/tools/javadoc/annotations/annotatePackage/Main.java Wed May 27 22:34:43 2009 -0700 369.3 @@ -26,7 +26,7 @@ 369.4 * @bug 5031168 369.5 * @summary Test package annotations and package-info.java package comments. 369.6 * @library ../../lib 369.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 369.8 + * @compile ../../lib/Tester.java Main.java 369.9 * @run main Main 369.10 */ 369.11
370.1 --- a/test/tools/javadoc/annotations/annotateParams/Main.java Thu May 21 10:56:36 2009 +0100 370.2 +++ b/test/tools/javadoc/annotations/annotateParams/Main.java Wed May 27 22:34:43 2009 -0700 370.3 @@ -26,7 +26,7 @@ 370.4 * @bug 5031171 370.5 * @summary Test parameter annotations. 370.6 * @library ../../lib 370.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 370.8 + * @compile ../../lib/Tester.java Main.java 370.9 * @run main Main 370.10 */ 370.11
371.1 --- a/test/tools/javadoc/annotations/defaults/Main.java Thu May 21 10:56:36 2009 +0100 371.2 +++ b/test/tools/javadoc/annotations/defaults/Main.java Wed May 27 22:34:43 2009 -0700 371.3 @@ -27,7 +27,7 @@ 371.4 * @summary Test an annotation type with default element values, and 371.5 * annotations that use them. 371.6 * @library ../../lib 371.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 371.8 + * @compile ../../lib/Tester.java Main.java 371.9 * @run main Main 371.10 */ 371.11
372.1 --- a/test/tools/javadoc/annotations/elementTypes/Main.java Thu May 21 10:56:36 2009 +0100 372.2 +++ b/test/tools/javadoc/annotations/elementTypes/Main.java Wed May 27 22:34:43 2009 -0700 372.3 @@ -27,7 +27,7 @@ 372.4 * @summary Test an annotation type and annotations with elements of various 372.5 * types. 372.6 * @library ../../lib 372.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 372.8 + * @compile ../../lib/Tester.java Main.java 372.9 * @run main Main 372.10 */ 372.11
373.1 --- a/test/tools/javadoc/annotations/shortcuts/Main.java Thu May 21 10:56:36 2009 +0100 373.2 +++ b/test/tools/javadoc/annotations/shortcuts/Main.java Wed May 27 22:34:43 2009 -0700 373.3 @@ -26,7 +26,7 @@ 373.4 * @bug 4904495 373.5 * @summary Verify that "shortcuts" are used when printing annotations. 373.6 * @library ../../lib 373.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 373.8 + * @compile ../../lib/Tester.java Main.java 373.9 * @run main Main 373.10 */ 373.11
374.1 --- a/test/tools/javadoc/enum/docComments/Main.java Thu May 21 10:56:36 2009 +0100 374.2 +++ b/test/tools/javadoc/enum/docComments/Main.java Wed May 27 22:34:43 2009 -0700 374.3 @@ -26,7 +26,7 @@ 374.4 * @bug 4421066 374.5 * @summary Verify the comments in an enum type. 374.6 * @library ../../lib 374.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 374.8 + * @compile ../../lib/Tester.java Main.java 374.9 * @run main Main 374.10 */ 374.11
375.1 --- a/test/tools/javadoc/enum/enumType/Main.java Thu May 21 10:56:36 2009 +0100 375.2 +++ b/test/tools/javadoc/enum/enumType/Main.java Wed May 27 22:34:43 2009 -0700 375.3 @@ -26,7 +26,7 @@ 375.4 * @bug 4421066 375.5 * @summary Verify the contents of an enum type. 375.6 * @library ../../lib 375.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 375.8 + * @compile ../../lib/Tester.java Main.java 375.9 * @run main Main 375.10 */ 375.11
376.1 --- a/test/tools/javadoc/generics/genericClass/Main.java Thu May 21 10:56:36 2009 +0100 376.2 +++ b/test/tools/javadoc/generics/genericClass/Main.java Wed May 27 22:34:43 2009 -0700 376.3 @@ -26,7 +26,7 @@ 376.4 * @bug 4421066 376.5 * @summary Verify the contents of the ClassDoc of a generic class. 376.6 * @library ../../lib 376.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 376.8 + * @compile ../../lib/Tester.java Main.java 376.9 * @run main Main 376.10 */ 376.11
377.1 --- a/test/tools/javadoc/generics/genericInnerAndOuter/Main.java Thu May 21 10:56:36 2009 +0100 377.2 +++ b/test/tools/javadoc/generics/genericInnerAndOuter/Main.java Wed May 27 22:34:43 2009 -0700 377.3 @@ -27,7 +27,7 @@ 377.4 * @summary Verify the contents of the ClassDoc of 377.5 * a generic class with a generic inner class. 377.6 * @library ../../lib 377.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 377.8 + * @compile ../../lib/Tester.java Main.java 377.9 * @run main Main 377.10 */ 377.11
378.1 --- a/test/tools/javadoc/generics/genericInterface/Main.java Thu May 21 10:56:36 2009 +0100 378.2 +++ b/test/tools/javadoc/generics/genericInterface/Main.java Wed May 27 22:34:43 2009 -0700 378.3 @@ -26,7 +26,7 @@ 378.4 * @bug 4421066 378.5 * @summary Verify the contents of the ClassDoc of a generic interface. 378.6 * @library ../../lib 378.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 378.8 + * @compile ../../lib/Tester.java Main.java 378.9 * @run main Main 378.10 */ 378.11
379.1 --- a/test/tools/javadoc/generics/genericMethod/Main.java Thu May 21 10:56:36 2009 +0100 379.2 +++ b/test/tools/javadoc/generics/genericMethod/Main.java Wed May 27 22:34:43 2009 -0700 379.3 @@ -26,7 +26,7 @@ 379.4 * @bug 4421066 379.5 * @summary Verify the reading of generic methods and constructors. 379.6 * @library ../../lib 379.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 379.8 + * @compile ../../lib/Tester.java Main.java 379.9 * @run main Main 379.10 */ 379.11
380.1 --- a/test/tools/javadoc/generics/genericSuper/Main.java Thu May 21 10:56:36 2009 +0100 380.2 +++ b/test/tools/javadoc/generics/genericSuper/Main.java Wed May 27 22:34:43 2009 -0700 380.3 @@ -26,7 +26,7 @@ 380.4 * @bug 4421066 380.5 * @summary Verify the contents of the ClassDoc of a generic class. 380.6 * @library ../../lib 380.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 380.8 + * @compile ../../lib/Tester.java Main.java 380.9 * @run main Main 380.10 */ 380.11
381.1 --- a/test/tools/javadoc/generics/supertypes/Main.java Thu May 21 10:56:36 2009 +0100 381.2 +++ b/test/tools/javadoc/generics/supertypes/Main.java Wed May 27 22:34:43 2009 -0700 381.3 @@ -26,7 +26,7 @@ 381.4 * @bug 4922918 381.5 * @summary Check supertypes and superinterfaces of parameterized types. 381.6 * @library ../../lib 381.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 381.8 + * @compile ../../lib/Tester.java Main.java 381.9 * @run main Main 381.10 */ 381.11
382.1 --- a/test/tools/javadoc/generics/throwsGeneric/Main.java Thu May 21 10:56:36 2009 +0100 382.2 +++ b/test/tools/javadoc/generics/throwsGeneric/Main.java Wed May 27 22:34:43 2009 -0700 382.3 @@ -26,7 +26,7 @@ 382.4 * @bug 4421066 382.5 * @summary Verify the reading of generic methods and constructors. 382.6 * @library ../../lib 382.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 382.8 + * @compile ../../lib/Tester.java Main.java 382.9 * @run main Main 382.10 */ 382.11
383.1 --- a/test/tools/javadoc/generics/tparamCycle/Main.java Thu May 21 10:56:36 2009 +0100 383.2 +++ b/test/tools/javadoc/generics/tparamCycle/Main.java Wed May 27 22:34:43 2009 -0700 383.3 @@ -26,7 +26,7 @@ 383.4 * @bug 4421066 383.5 * @summary Check a type parameter whose bound cycles back on itself. 383.6 * @library ../../lib 383.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 383.8 + * @compile ../../lib/Tester.java Main.java 383.9 * @run main Main 383.10 */ 383.11
384.1 --- a/test/tools/javadoc/generics/tparamTagOnMethod/Main.java Thu May 21 10:56:36 2009 +0100 384.2 +++ b/test/tools/javadoc/generics/tparamTagOnMethod/Main.java Wed May 27 22:34:43 2009 -0700 384.3 @@ -26,7 +26,7 @@ 384.4 * @bug 4421066 384.5 * @summary Verify the reading of type parameter tags on methods. 384.6 * @library ../../lib 384.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 384.8 + * @compile ../../lib/Tester.java Main.java 384.9 * @run main Main 384.10 */ 384.11
385.1 --- a/test/tools/javadoc/generics/tparamTagOnType/Main.java Thu May 21 10:56:36 2009 +0100 385.2 +++ b/test/tools/javadoc/generics/tparamTagOnType/Main.java Wed May 27 22:34:43 2009 -0700 385.3 @@ -26,7 +26,7 @@ 385.4 * @bug 4421066 385.5 * @summary Verify the reading of a type parameter tag on an interface. 385.6 * @library ../../lib 385.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 385.8 + * @compile ../../lib/Tester.java Main.java 385.9 * @run main Main 385.10 */ 385.11
386.1 --- a/test/tools/javadoc/generics/wildcards/Main.java Thu May 21 10:56:36 2009 +0100 386.2 +++ b/test/tools/javadoc/generics/wildcards/Main.java Wed May 27 22:34:43 2009 -0700 386.3 @@ -26,7 +26,7 @@ 386.4 * @bug 4421066 386.5 * @summary Verify the contents of the ClassDoc of a generic class. 386.6 * @library ../../lib 386.7 - * @compile -source 1.5 ../../lib/Tester.java Main.java 386.8 + * @compile ../../lib/Tester.java Main.java 386.9 * @run main Main 386.10 */ 386.11
387.1 --- a/test/tools/javadoc/lib/Tester.java Thu May 21 10:56:36 2009 +0100 387.2 +++ b/test/tools/javadoc/lib/Tester.java Wed May 27 22:34:43 2009 -0700 387.3 @@ -39,7 +39,6 @@ 387.4 protected final String TEST_CLASSES = System.getProperty("test.classes", 387.5 "."); 387.6 private final String DEFAULT_ARGS[] = { 387.7 - "-source", "1.5", 387.8 "-sourcepath", TEST_SRC, 387.9 }; 387.10
388.1 --- a/test/tools/javadoc/varArgs/Main.java Thu May 21 10:56:36 2009 +0100 388.2 +++ b/test/tools/javadoc/varArgs/Main.java Wed May 27 22:34:43 2009 -0700 388.3 @@ -27,7 +27,7 @@ 388.4 * @summary Verify the contents of a ClassDoc containing a varArgs method. 388.5 * Verify that see/link tags can use "..." notation. 388.6 * @library ../lib 388.7 - * @compile -source 1.5 ../lib/Tester.java Main.java 388.8 + * @compile ../lib/Tester.java Main.java 388.9 * @run main Main 388.10 */ 388.11