Bug 102130 - Compiler should not warn about non-externalized string in annotation
Summary: Compiler should not warn about non-externalized string in annotation
Status: RESOLVED DUPLICATE of bug 97220
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 06:01 EDT by Markus Keller CLA
Modified: 2005-06-29 10:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-06-29 06:01:05 EDT
I20050627-1435

The compiler should not warn about a non-externalized string in an annotation.
Here, "unused" cannot be externalized and should therefore not raise a warning:

public class Klass {
	void use() {
		@SuppressWarnings("unused")
		String s;
	}
}
Comment 1 Frederic Fusier CLA 2005-06-29 10:35:23 EDT

*** This bug has been marked as a duplicate of 97220 ***