Bug 86642

Summary: [search] no match found of package-visible supertypes in subtypes
Product: [Eclipse Project] JDT Reporter: Tobias Widmer <tobias_widmer>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M6   
Hardware: PC   
OS: All   
Whiteboard:

Description Tobias Widmer CLA 2005-02-25 10:50:32 EST
I20050222-0821

Steps to reproduce:
- Create cu A
class A {
	public void m() {}
	protected void f(A a){
	}
}
- Create cu B
public class B extends A{
	protected void f(A a){
		a.m();
	}
}
- Search for references to type A
->No matches in cu B are reported
Comment 1 Frederic Fusier CLA 2005-02-28 14:47:38 EST
I get 3 matches, one in A and 2 in B. Everything sounds OK for me => close as
WORKSFORME and add test case in JavaSearchBugsTests: #testBug86642().

Tobias, please have a look at this tests (org.eclipse.jdt.core.tests.model) and
let me know if this match your scenario (using working copies). In case not,
reopen with a more detailed one...

Thanks