Bug 23257 - IInitializer::getNameRange returns incorrect result
Summary: IInitializer::getNameRange returns incorrect result
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-06 04:48 EDT by Adam Kiezun CLA
Modified: 2002-09-19 09:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.