Bug 84100

Summary: [1.5][search] Search for varargs method not finding match
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2005-01-31 18:36:00 EST
Build 3.1, 20050126

On following 2 files scenario:
public class X {
	void foo(X... xs) {}
}

public class ZZZ {
 void foo() {
 	new X().foo(new X(), new X());
 }
}   

Selecting X#foo() and searching for references does not find match in ZZZ.

Suspecting index query to not take varargs nature into account (and only looking
for references with 1 argument only).
Comment 1 Markus Keller CLA 2005-02-09 06:29:28 EST
*** Bug 84724 has been marked as a duplicate of this bug. ***
Comment 2 Markus Keller CLA 2005-02-09 06:41:22 EST
Oops, bug 84724 was not a duplicate.
But this bug seems to be fixed in I20050208-0800.
Comment 3 Frederic Fusier CLA 2005-02-14 12:14:11 EST
I confirm that this bug is fixed in last integration build
=> close as WORKSFORME
Comment 4 Frederic Fusier CLA 2005-02-14 14:17:39 EST
Test cases added in javaSearchBugsTests to verify that this kind of search
really works...