Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 114205 Details for
Bug 227530
[1.5][compiler] Incomplete error message for annotation inside a member type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch with testcase
patch.txt (text/plain), 2.67 KB, created by
Kent Johnson
on 2008-10-03 12:14:13 EDT
(
hide
)
Description:
Proposed patch with testcase
Filename:
MIME Type:
Creator:
Kent Johnson
Created:
2008-10-03 12:14:13 EDT
Size:
2.67 KB
patch
obsolete
>### 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"); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227530
: 114205