Bug 26885 - binary representation wrongly flagged as error
Summary: binary representation wrongly flagged as error
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-21 13:33 EST by Bill Welch CLA
Modified: 2002-11-25 08:20 EST (History)
0 users

See Also:


Attachments
Test case (414 bytes, text/plain)
2002-11-22 08:20 EST, Olivier Thomann CLA
no flags Details

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