Summary: | Tracking what generic ITD stuff is working... | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Andrew Clement <aclement> |
Component: | Compiler | Assignee: | Andrew Clement <aclement> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | DEVELOPMENT | ||
Target Milestone: | 1.5.0RC1 | ||
Hardware: | All | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Andrew Clement
2005-07-27 07:26:54 EDT
This bug can track what is working in HEAD...these all work: : generic method with multiple uses of the type parameter aspect X { <T extends Number> T Utils.max(T first,T second) { if (first.intValue()>second.intValue()) return first; else return second; } } : generic method, nested use of the type variable in the type param for the method aspect X { static <E> E MathUtils.first(List<E> elements) { return elements.get(0); } } aspect X { void Base.simple(List<? extends Super> list) {} } aspect X { <E> void Base.simple(List<? extends E> list) {} } aspect X { <E extends Number> void Base.simple(List<? extends E> list) {} } now closed. |