Bug 78089 - [1.5] [compiler] Annotations are not accepted inside interfaces
Summary: [1.5] [compiler] Annotations are not accepted inside interfaces
Status: VERIFIED FIXED
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: 3.1 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 13:34 EST by Olivier Thomann CLA
Modified: 2004-12-14 09:26 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2004-11-08 13:34:01 EST
Using latest, the parser rejects as a syntax error an annotation type
declaration defined inside an interface.
This should be accepted. Annotation are valid where an interface is valid.
Comment 1 Olivier Thomann CLA 2004-11-08 14:40:07 EST
Fixed and released in HEAD.
Regression test test089 added in Compliance_1_5.
Comment 2 Jerome Lanneluc CLA 2004-12-14 09:26:24 EST
Verified in I200412140010.