View | Details | Raw Unified | Return to bug 227530
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties (-2 / +2 lines)
Lines 33-39 Link Here
33
27 = Cannot use an expression of the type {0} as a valid enclosing instance
33
27 = Cannot use an expression of the type {0} as a valid enclosing instance
34
28 = No enclosing instance of type {0} is available due to some intermediate constructor invocation
34
28 = No enclosing instance of type {0} is available due to some intermediate constructor invocation
35
29 = An anonymous class cannot subclass the final class {0}
35
29 = An anonymous class cannot subclass the final class {0}
36
30 = The member annotation {0} can only be defined inside a top-level class or interface
36
30 = The member annotation {0} can only be defined inside a static context
37
31 = The member enum {0} cannot be local
37
31 = The member enum {0} cannot be local
38
32 = The member enum {0} must be defined inside a static member type
38
32 = The member enum {0} must be defined inside a static member type
39
33 = The type {0} is hiding the type {1}
39
33 = The type {0} is hiding the type {1}
Lines 572-578 Link Here
572
### ENUMS
572
### ENUMS
573
750 = Illegal modifier for the enum {0}; only public is permitted
573
750 = Illegal modifier for the enum {0}; only public is permitted
574
751 = Illegal modifier for the enum constant {0}; no modifier is allowed
574
751 = Illegal modifier for the enum constant {0}; no modifier is allowed
575
752 = Illegal modifier for the local enum {0}; only abstract is permitted
575
###[obsolete] 752 = Illegal modifier for the local enum {0}; only abstract is permitted
576
753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted
576
753 = Illegal modifier for the member enum {0}; only public, protected, private & static are permitted
577
754 = The enum {1} already defines the method {0}({2}) implicitly
577
754 = The enum {1} already defines the method {0}({2}) implicitly
578
755 = The enum constant {0}.{1} reference cannot be qualified in a case label
578
755 = The enum constant {0}.{1} reference cannot be qualified in a case label
(-)src/org/eclipse/jdt/core/tests/compiler/regression/AnnotationTest.java (-1 / +1 lines)
Lines 4702-4708 Link Here
4702
    		"1. ERROR in X.java (at line 3)\n" +
4702
    		"1. ERROR in X.java (at line 3)\n" +
4703
    		"	@interface Bar {\n" +
4703
    		"	@interface Bar {\n" +
4704
    		"	           ^^^\n" +
4704
    		"	           ^^^\n" +
4705
    		"The member annotation Bar can only be defined inside a top-level class or interface\n" +
4705
    		"The member annotation Bar can only be defined inside a static context\n" +
4706
    		"----------\n");
4706
    		"----------\n");
4707
    }
4707
    }
4708
4708

Return to bug 227530