Bug 112973

Summary: NLS tags like //$NON-NLS-?$ don't have the right range
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2005-10-18 13:49:08 EDT
Using latests, when the detection of useless nls tag is on, the range for this
nls tag is completely boggus.
This has a bad side-effect on the tool that removes them.
Comment 1 Olivier Thomann CLA 2005-10-18 13:50:42 EDT
The problem occurs only when the index of the nls tag is not an integer.
Fixed and released in HEAD.
Regression test added in
org.eclipse.jdt.core.tests.compiler.regression.ExternalizeStringLiteralsTest.test014
Note this tag is considered as unused.
Comment 2 Frederic Fusier CLA 2005-10-31 06:09:22 EST
Verified for 3.2 M3 using build I20051031-0010