Bug 74519

Summary: Can declare @interface in 1.4
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2004-09-22 07:12:59 EDT
I200409212000

In a project with source level 1.4, an Annotation can be declared without error:

public @interface Ann {
	String annName();
}
Comment 1 Olivier Thomann CLA 2004-09-22 12:54:59 EDT
Same issue with annotations.
@X public class X3 {
}
Comment 2 Olivier Thomann CLA 2004-09-22 13:12:57 EDT
Fixed and released in HEAD.
Regression tests added.
Comment 3 Frederic Fusier CLA 2004-09-24 05:28:11 EDT
Verified for 3.1 M2 with build I200409231635.