Bug 26885

Summary: binary representation wrongly flagged as error
Product: [Eclipse Project] JDT Reporter: Bill Welch <billw>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Test case none

Description Bill Welch CLA 2002-11-21 13:33:18 EST
This fails to compile in eclipse - compiles fine elsewhere (old code).
      char c; int i;
       switch (c) {
         case '<':  i=1;break;
	 case '>':  i=1;break; 
	 case '&':  i=1;break;
	 case '"':  i=1;break;
	 case '\340': i=1;break; // no error
         case '\300': i=1;break; // compile error for this and every one after
}
Comment 1 Olivier Thomann CLA 2002-11-22 08:19:03 EST
I could not reproduce in 2.1 HEAD contents for JDT/Core.
My test case is attached. I got no compile error.
Please let me know which version you are using. If I cannot reproduce, I might
have to close it as WORKSFORME.
Thansk.
Comment 2 Olivier Thomann CLA 2002-11-22 08:20:31 EST
Created attachment 2491 [details]
Test case

No compile error compiling this code.
Comment 3 Olivier Thomann CLA 2002-11-25 08:20:51 EST
Cannot reproduce.
Closed. Reopen if you have a test case I can reproduce.