Summary: | [completion] relevance of some types aren't correct | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> | ||||
Component: | Core | Assignee: | David Audel <david_audel> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | philippe_mulet | ||||
Version: | 3.2 | ||||||
Target Milestone: | 3.2 RC1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Audel
2006-04-05 04:59:46 EDT
The expceted type is Object and the type in the current compilation SerializableList is a subclass of Object. Serializable is found by searchAllType() but in this case type hierarchies are not computed (it would be too costly), so Serializable isn't considered as a subclass of Object. That's why the relevance of SerializableList is higher than relevance of Serializable. If expected type is Object we should consider all types proposed by searchAllType() as subclasses. Created attachment 37731 [details]
Proposed fix
Philippe - Do you want this fix for 3.2RC1 ? +1 for 3.2RC1 Fix released and test added CompletionTest_1_5#test0270() Verified for 3.2 RC1 using Build id: I20060413-0010. |