Bug 210498 - Extra type in hierarchy when focusing on local class
Summary: Extra type in hierarchy when focusing on local class
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 02:57 EST by Jerome Lanneluc CLA
Modified: 2007-12-12 09:46 EST (History)
0 users

See Also:


Attachments
Proposed fix and regression test (4.79 KB, patch)
2007-12-03 07:27 EST, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2007-11-21 02:57:12 EST
I20071113-0800

1. Create X.java:
public class X {
	void foo() {
		class Local extends X { 
			ZorkLocal z;
		}
	}
}
@interface Annot {
	String value();
}
2. Open hierarchy on X
3. In hierarchy view, select Local
4. Focus on Local
Observe: String appears in the hierarchy, but it is not related to Local
Comment 1 Jerome Lanneluc CLA 2007-12-03 07:27:41 EST
Created attachment 84306 [details]
Proposed fix and regression test
Comment 2 Jerome Lanneluc CLA 2007-12-03 08:57:40 EST
Fix and test released for 3.4M4
Comment 3 Maxime Daniel CLA 2007-12-12 09:46:28 EST
Verified for 3.4 M4 using build I20071211-0010.