Bug 5069 - search: method reference in super missing
Summary: search: method reference in super missing
Status: RESOLVED DUPLICATE of bug 5068
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-18 06:36 EDT by Adam Kiezun CLA
Modified: 2002-01-11 09: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 Adam Kiezun CLA 2001-10-18 06:36:45 EDT
package p;
class AQ {
	public void k(){}
}

class AQE extends AQ{
	public void k(){
		super.k();
	}
}

search for references to AQ::k - none are found (incorrect)
occurrences - 3 (ok)
declarations - 2 (ok)

occurrences != declarations + references
Comment 1 Jerome Lanneluc CLA 2001-10-18 12:10:24 EDT
I cannot reproduce (neither in 204, nor in "204 + jdtcore205").
Can you?
Comment 2 Jerome Lanneluc CLA 2001-10-18 12:16:11 EDT
Actually, I can reproduce if I put the test case in a file with a name which is 
not I (eg. AQ.java)

Will investigate.
Comment 3 Jerome Lanneluc CLA 2001-10-18 12:16:49 EDT
Actually, I can reproduce if I put the test case in a file with a name which is 
not AQ (eg. CD.java)

Will investigate.
Comment 4 Jerome Lanneluc CLA 2001-10-19 04:47:12 EDT

*** This bug has been marked as a duplicate of 5068 ***
Comment 5 Jerome Lanneluc CLA 2001-10-26 06:49:19 EDT
Bug 5068 is fixed.
Added JavaSearchTest.testMethodReference2()