Bug 30739

Summary: \u4100 is rejected as an identifier character
Product: [Eclipse Project] JDT Reporter: Peter Burka <peter_burka>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.2   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Peter Burka CLA 2003-01-31 14:37:56 EST
Build ID: 200211071448

The compiler rejects the following field definition:

int xx\u4100xx = 4;

It simply indicates that it doesn't expect the Unicode character.

javac 1.4 accepts that character in identifiers.

I do't know if this is a bug in JDK or Eclipse.
Comment 1 Olivier Thomann CLA 2003-01-31 14:59:13 EST
This is not an issue on 2.1 latest integration build.
Comment 2 Philipe Mulet CLA 2003-02-03 04:49:24 EST
Compiler works fine, however codeassist inserts wrong source for this field 
completion.
Comment 3 Philipe Mulet CLA 2003-02-03 05:08:16 EST
The completion inserted directly puts in the char value 0x4100, instead of 
using a unicode. This is related to some encoding issue.

Original issue is gone, closing (codeassist is another issue which will get 
another PR).