Bug 74519 - Can declare @interface in 1.4
Summary: Can declare @interface in 1.4
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 07:12 EDT by Markus Keller CLA
Modified: 2004-09-24 05:28 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 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.