Bug 94168 - Java annotation is missing in EnumConstantDeclaration
Summary: Java annotation is missing in EnumConstantDeclaration
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 M7   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 13:38 EDT by julien CLA
Modified: 2005-05-12 13:36 EDT (History)
0 users

See Also:


Attachments
Apply on HEAD on ASTConverter (1.55 KB, patch)
2005-05-11 15:04 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description julien CLA 2005-05-09 13:38:22 EDT
With the Eclipse I20050506-1600, I have noticed a problem with ASTParser in 
the following file:

public enum Category
{
     @Test HISTORY
}

The modifier "@Test" is missing in the modifiers of EnumConstantDeclaration.
Comment 1 Olivier Thomann CLA 2005-05-11 15:04:08 EDT
Created attachment 20997 [details]
Apply on HEAD on ASTConverter

This is fixing this issue
Comment 2 Olivier Thomann CLA 2005-05-11 22:26:35 EDT
Fixed and released in HEAD.
Regression test added in org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0179
Comment 3 David Audel CLA 2005-05-12 13:36:40 EDT
Verified for 3.1M7