Bug 3293 - search does not work in inner class (1GEUQHJ)
Summary: search does not work in inner class (1GEUQHJ)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:52 EDT by Philipe Mulet 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 Philipe Mulet CLA 2001-10-10 22:52:43 EDT
1) create the following class

public class Class1 {

	String s;
	
	Object hello = new Object(){
		public void foo() {
			String s = new String();
			s.length();
		}
	};

	int i =  s.length();
}

2) select the first length in the editor, right click, search, implementors -> nothing
3) select the second one, right click, implementors -> it works

NOTES:
EG (6/5/2001 9:41:11 AM)
	known limitation. Moving to JCORE, suggest defer

JBL (9/14/2001 6:11:50 PM)
	Code resolve problem. If you open java.lang.String, select length() in the outline and search for references,
	then the matches are found.
Comment 1 DJ Houghton CLA 2001-10-29 17:07:28 EST
PRODUCT VERSION:
119 NT

Comment 2 David Audel CLA 2001-10-31 05:02:49 EST
Fixed