Bug 6677 - \u in comment gives Invalid unicode error
Summary: \u in comment gives Invalid unicode error
Status: VERIFIED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-07 11:44 EST by Neil Swingler CLA
Modified: 2004-08-29 02:05 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Swingler CLA 2001-12-07 11:44:59 EST
\u in a comment block seems to be treated as if it was in a string,
e.g.
\util produces the error "Invalid unicode"
whereas \u0000 is OK
Comment 1 Philipe Mulet CLA 2001-12-07 18:45:34 EST
Unicodes can occur anywhere in source (identifiers, strings, comments, ...). 
The compiler complaints is legite as per the Java language specification, any 
Java compiler must reject such code.
Comment 2 Neil Swingler CLA 2001-12-10 05:00:43 EST
So version control tags that are expanded to a
fully qualified pathname cannot be used on Windows systems.
Comment 3 Ralf Hauser CLA 2004-08-29 02:05:01 EDT
I second Neil to reopen this because currently, one cannot even copy a windows
path into a comment???

see also: Bug 10753