Summary: | [compiler] Extra secondary error in presence of missing type | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.4 | ||||||
Target Milestone: | 3.4 M6 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Philipe Mulet
2008-02-29 11:43:56 EST
Variation, also produces 2 errors instead of 1: import java.util.ArrayList; public class X { public List<String> m(ArrayList<String> l) { return l; } } should only complain about missing 'List' Other testcase should only report one issue (missing IOException): import java.util.List; interface B { void m() throws Exception; } public class X implements B { public void m() throws IOException { } } currently it also reports incompatibilty between IOException and Exception. Added ProblemTypeAndMethod#test078-079 Created attachment 91213 [details]
Proposed patch
Released for 3.4M6 Fixed Verified for 3.4M6 using I20080324-1300. |