Bug 83363 - Parser drops annotation for package-protected method
Summary: Parser drops annotation for package-protected method
Status: RESOLVED DUPLICATE of bug 82140
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: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-20 20:54 EST by Carl McConnell CLA
Modified: 2005-01-20 21:31 EST (History)
0 users

See Also:


Attachments
Code fragment to reproduce (588 bytes, text/plain)
2005-01-20 20:55 EST, Carl McConnell CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl McConnell CLA 2005-01-20 20:54:51 EST
The attached code fragment parses an annotated but otherwise modifier-less
method, and then attempts to access the annotation in the resulting AST. It
fails because the method's modifier list is empty. Note that this is not the
case if "public", "private", or "protected" appear after the annotation.
Comment 1 Carl McConnell CLA 2005-01-20 20:55:43 EST
Created attachment 17356 [details]
Code fragment to reproduce
Comment 2 Carl McConnell CLA 2005-01-20 20:56:04 EST
This is in 3.1 M4.
Comment 3 Olivier Thomann CLA 2005-01-20 21:31:05 EST

*** This bug has been marked as a duplicate of 82140 ***