| Summary: | ecj output of Elements.getAllMembers() differs from javac | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Arlo Louis O\'Keeffe <mailtoarlo> |
| Component: | APT | Assignee: | Generic inbox for the JDT-APT component <jdt-apt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | mailtoarlo |
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | stalebug | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Given the following interfaces: interface Test2<T extends java.io.Serializable> { String test(T test); } interface Test extends Test2<Long> { } Calling Elements.getAllMembers() on Test's TypeElement in javac returns: String test(T) In ecj it returns: String test(Long) The problem is that ecj's output cannot be used in reflection since calling getMethod(Long) doesn't work due to type erasure.