Bug 30739 - \u4100 is rejected as an identifier character
Summary: \u4100 is rejected as an identifier character
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 14:37 EST by Peter Burka CLA
Modified: 2003-02-03 05:08 EST (History)
0 users

See Also:


Attachments

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