| Summary: | "The method is never used locally" is not shown for parameterized recursive methods | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ivan Sopov <moradan228> |
| Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | amj87.iitr, Olivier_Thomann |
| Version: | 3.7 | ||
| Target Milestone: | 3.8 M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fix and tests released via commit id d72493837412a83d55cd011d0e0b9648de95961a. Basically, we are comparing the parameterized generic method with the underlying method and finding them to be different. Verified for 3.8M4 using build I20111202-0800. |
Build Identifier: 20110615-0604 For this code: private static List<Object> foo1(Set<Object> set) { return foo1(set); } private static <T> List<T> foo3(Set<T> set) { return foo3(set); } The first method is marked as unused, while the second is not. Reproducible: Always