Bug 86642 - [search] no match found of package-visible supertypes in subtypes
Summary: [search] no match found of package-visible supertypes in subtypes
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-25 10:50 EST by Tobias Widmer CLA
Modified: 2005-02-28 14:47 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 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