Summary: | [compiler][1.5] Another compiler problem related to annotations/generics | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Roman Kennke <roman> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED DUPLICATE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jerome_lanneluc | ||||
Version: | 3.3.1 | ||||||
Target Milestone: | 3.4 M4 | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Roman Kennke
2007-12-06 13:45:19 EST
Yes, this is a dup of bug 212147. You need to write instead: final Class<ConstructorProperties> propertyNamesClass = ConstructorProperties.class; Constructor<ConstructorProperties> constr = propertyNamesClass.getConstructor(); String[] propertyNames = constr.getAnnotation(propertyNamesClass).value(); since Constructor is a generic type. Closing as duplicate of bug 212147 *** This bug has been marked as a duplicate of bug 212147 *** Verified for 3.4M4 using I20071211-0010. |