### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties,v retrieving revision 1.240 diff -u -r1.240 messages.properties --- compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties 9 Sep 2008 16:39:21 -0000 1.240 +++ compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties 3 Oct 2008 16:13:40 -0000 @@ -33,7 +33,7 @@ 27 = Cannot use an expression of the type {0} as a valid enclosing instance 28 = No enclosing instance of type {0} is available due to some intermediate constructor invocation 29 = An anonymous class cannot subclass the final class {0} -30 = The member annotation {0} can only be defined inside a top-level class or interface +30 = The member annotation {0} can only be defined inside a static context 31 = The member enum {0} cannot be local 32 = The member enum {0} must be defined inside a static member type 33 = The type {0} is hiding the type {1} @@ -572,7 +572,7 @@ ### ENUMS 750 = Illegal modifier for the enum {0}; only public is permitted 751 = Illegal modifier for the enum constant {0}; no modifier is allowed -752 = Illegal modifier for the local enum {0}; only abstract is permitted +###[obsolete] 752 = Illegal modifier for the local enum {0}; only abstract is permitted 753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted 754 = The enum {1} already defines the method {0}({2}) implicitly 755 = The enum constant {0}.{1} reference cannot be qualified in a case label #P org.eclipse.jdt.core.tests.compiler Index: src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java,v retrieving revision 1.186 diff -u -r1.186 AnnotationTest.java --- src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java 28 Aug 2008 11:58:20 -0000 1.186 +++ src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java 3 Oct 2008 16:13:40 -0000 @@ -4702,7 +4702,7 @@ "1. ERROR in X.java (at line 3)\n" + " @interface Bar {\n" + " ^^^\n" + - "The member annotation Bar can only be defined inside a top-level class or interface\n" + + "The member annotation Bar can only be defined inside a static context\n" + "----------\n"); }