Bug 76103 - [1.5] Inner AnnotationTypeDeclaration not parsed
Summary: [1.5] Inner AnnotationTypeDeclaration not parsed
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-12 12:56 EDT by Martin Aeschlimann CLA
Modified: 2004-11-02 10:25 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 Martin Aeschlimann CLA 2004-10-12 12:56:54 EDT
20041012

I'm not sure if this makes sense, but inner AnnotationTypeDeclaration are not
correctly parsed.

class A {
	public @interface E {
	    String value();
	}
}

gives a syntax error on the '@' symbol.
Comment 1 Olivier Thomann CLA 2004-10-12 19:32:31 EDT
Reproduced.
Comment 2 Olivier Thomann CLA 2004-10-13 11:21:58 EDT
Fixed and released in HEAD.
Regression test added.
ASTConverter15Test.test0052
Comment 3 David Audel CLA 2004-11-02 10:25:59 EST
Verified for 3.1M3 with build I20041101.