Bug 23257

Summary: IInitializer::getNameRange returns incorrect result
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-09-06 04:48:09 EDT
javadoc promises a null and i get a range with a -1 offset
Comment 1 Olivier Thomann CLA 2002-09-06 14:29:14 EDT
The fix would be to add this method in the Initializer class:

/**
 * @see IMember
 */
public ISourceRange getNameRange() throws JavaModelException {
	return null;
}
Comment 2 Olivier Thomann CLA 2002-09-09 13:05:33 EDT
Fixed and released in 2.1 stream.
Comment 3 David Audel CLA 2002-09-19 09:59:17 EDT
Verified.