Summary: | [search] Code assist proposes non accessible types into completion | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Maxime Daniel <maxime_daniel> | ||||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | daniel_megert | ||||||
Version: | 3.1 | ||||||||
Target Milestone: | 3.1 RC3 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Maxime Daniel
2005-05-27 07:11:03 EDT
The problem occurs only if Taratata is inside the default package The problem is inside BasisSearchEngine#searchAllTypeNames(). The path computed inside the IndexQueryRequestor seems incorrect when record.pkg.length is 0. It is "/Taratata" and should be "Taratata". Created attachment 22903 [details]
Patch to fix this issue
When package pattern is not null but empty, IndexQueryRequestor wrongly adds a
'/' before document path...
Created attachment 22907 [details]
Test cases added to CompletionTests2
+1 for RC3. Dani - would you pls vote for this one ? +1 for 3.1 RC3. Improving code assist is always welcome ;-) Fixed and released in HEAD. Verified using build N20050616-0010 + JDT Core HEAD. |