Bug 160854 - [search] No type is found using seachAllTypeNames(char[][],char[][],...) methods when no type names is specified
Summary: [search] No type is found using seachAllTypeNames(char[][],char[][],...) meth...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-13 09:10 EDT by Frederic Fusier CLA
Modified: 2006-10-30 14:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2006-10-13 09:10:16 EDT
Using build 3.3 M2 but exist also in 3.2 and 3.1.

Calling SearchEngine method searchAllTypeNames(
	final char[][] qualifications, 
	final char[][] typeNames,
	IJavaSearchScope scope, 
	final TypeNameRequestor nameRequestor,
	int waitingPolicy,
	IProgressMonitor progressMonitor)  throws JavaModelException {

with typeNames = null (whatever qualifications param value is) leads to have no type accepted by given requestor.

I would expect to have all scope types of given package names or all scope types when qualifications is null...
Comment 1 Frederic Fusier CLA 2006-10-16 12:03:54 EDT
Fixed and released for 3.3 M3 in HEAD stream.

Test case added in JavaSearchBugsTests#testBug160854().

Fix for this bug is included in patch attached to bug 161028.
Comment 2 Olivier Thomann CLA 2006-10-30 14:22:05 EST
Verified for 3.3 M3 using warm-up build I20061030-0800 since regression test is ok.