Bug 27853 - Incorrect invalid unicode
Summary: Incorrect invalid unicode
Status: VERIFIED FIXED
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: 2.1 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-06 12:30 EST by Olivier Thomann CLA
Modified: 2002-12-18 04:40 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 Olivier Thomann CLA 2002-12-06 12:30:28 EST
Using latest code, we reject that code:

class X { // \u000d\uuuuu000a }

claiming that \u000d is an invalid unicode. The bug comes from the second
unicode. We don't properly consume the 'u's.
Comment 1 Olivier Thomann CLA 2002-12-06 12:32:22 EST
I have a fix for this one. I am running the compiler tests prior to release.
Comment 2 Olivier Thomann CLA 2002-12-06 12:45:08 EST
Fixed and released in 2.1 stream.
Regression test added.
Comment 3 David Audel CLA 2002-12-18 04:40:01 EST
Verified.