Summary: | [1.5] Overloading checks in Eclipse 3.1 do not reflect JDK5 generics extensions | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Lars Wunderlich <lars.wunderlich> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | kagrama, markus.kell.r |
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Lars Wunderlich
2004-10-28 14:27:30 EDT
*** Bug 77562 has been marked as a duplicate of this bug. *** But you cannot send either method. javac reports that the methods are ambiguous. X.java:6: reference to getValue is ambiguous, both method <T>getValue(int) in X and method <T>getValue(int) in X match I think we are better off reporting these methods as duplicates. Now if the type variable is also a parameter type then we have a bug, which will be fixed soon. See bug 73971 . |