Bug 38763 - Unexpected NLS problem
Summary: Unexpected NLS problem
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 07:19 EDT by Philipe Mulet CLA
Modified: 2003-08-05 16:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-06-11 07:19:39 EDT
Build 20030605

On following code, there should be no NLS problem reported (assuming compiler 
diagnosis is enabled):

public class X {
	public static void main(String[] args) {
		new StringBuffer().append("\nbuffer:kind= {");//$NON-NLS-1
	}
}
Comment 1 Philipe Mulet CLA 2003-06-11 07:28:01 EDT
Actually, testcase is even simpler:
public class X {
  public static void main(String[] args) {
        new StringBuffer().append(" "); //$NON-NLS-1
  }
}
Comment 2 Philipe Mulet CLA 2003-06-11 07:50:33 EDT
My mistake. Forgot trailing '$'
Comment 3 Darin Swanson CLA 2003-08-05 15:59:57 EDT
*** Bug 41162 has been marked as a duplicate of this bug. ***
Comment 4 Darin Swanson CLA 2003-08-05 16:01:24 EDT
Sorry about the incorrect dup designation.