Index: src/org/eclipse/jdt/core/tests/compiler/parser/AnnotationDietRecoveryTest.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/parser/AnnotationDietRecoveryTest.java,v retrieving revision 1.6 diff -u -r1.6 AnnotationDietRecoveryTest.java --- src/org/eclipse/jdt/core/tests/compiler/parser/AnnotationDietRecoveryTest.java 9 Jun 2005 14:03:39 -0000 1.6 +++ src/org/eclipse/jdt/core/tests/compiler/parser/AnnotationDietRecoveryTest.java 29 Aug 2005 20:51:15 -0000 @@ -254,6 +254,8 @@ "public @interface X {\n" + " {\n" + " }\n" + + " () {\n" + + " }\n" + "}\n"; String expectedDietPlusBodyUnitToString = Index: src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java,v retrieving revision 1.110 diff -u -r1.110 AnnotationTest.java --- src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java 25 Jul 2005 14:29:31 -0000 1.110 +++ src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java 29 Aug 2005 20:51:15 -0000 @@ -984,12 +984,12 @@ " int[] value();\n" + "}\n" }, - "----------\n" + - "1. ERROR in X.java (at line 2)\n" + - " int[] tab;\n" + - " ^^^\n" + - "The annotation field X.tab must be initialized with a constant expression\n" + - "----------\n"); + "----------\n" + + "1. ERROR in X.java (at line 2)\n" + + " int[] tab;\n" + + " ^^^\n" + + "The blank final field tab may not have been initialized\n" + + "----------\n"); } // check annotation array field initializer @@ -1031,12 +1031,12 @@ " int value;\n" + "}\n" }, - "----------\n" + - "1. ERROR in X.java (at line 2)\r\n" + - " int value;\r\n" + - " ^^^^^\n" + - "The annotation field X.value must be initialized with a constant expression\n" + - "----------\n"); + "----------\n" + + "1. ERROR in X.java (at line 2)\n" + + " int value;\n" + + " ^^^^^\n" + + "The blank final field value may not have been initialized\n" + + "----------\n"); } // check annotation field initializer