Bug 10275

Summary: Search: reference to class not found
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WONTFIX QA Contact:
Severity: critical    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2002-02-26 12:23:54 EST
Build 20020214

- open class MethodDeclaration form DOM/AST
- select SingleVariableDeclaration from the code

	private ASTNode.NodeList parameters =
		new ASTNode.NodeList(true, SingleVariableDeclaration.class);;

- search for references
observe: the above reference isn't part of the search result
Comment 1 Dirk Baeumer CLA 2002-02-26 12:24:44 EST
I have JDTCore in binary in my workspace
Comment 2 Philipe Mulet CLA 2002-02-26 12:55:25 EST
Was able to reproduce with JDT/Core in source form.
Comment 3 Jerome Lanneluc CLA 2002-02-27 17:25:07 EST
Was not able to reproduce in build 20020226 with JDT/Core in source form.
Will try with JDT/Core in binary form.
Comment 4 Jerome Lanneluc CLA 2002-03-01 06:26:53 EST
The class file for MethodDeclaration does not contain a class reference to 
SingleVariableDeclaration as the compiler (and any compiler would do the same) 
generates a Class.forName(String) bytecode.

This is a limitation of searching in binaries. Sorry.