Bug 404351 - Placing an active annotation in default package, produces a compilation error in generated java class
Summary: Placing an active annotation in default package, produces a compilation error...
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-26 06:57 EDT by lars efftinge CLA
Modified: 2013-03-26 09:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lars efftinge CLA 2013-03-26 06:57:01 EDT
Given active annotation A (default package),
xtend class de.test.B (annotated with A).
The generated java class de.test.B compiles with error
'A cannot be resolved to a type'
Comment 1 Sebastian Zarnekow CLA 2013-03-26 09:52:16 EDT
This seems to be a bug in PDE / JDT. It fsils with plain Java annotations, too. I'll file a ticket. Meanwhile we could add some validation.