Bug 563479

Summary: Java Editor, A comment containing a \u character creates a Syntax error
Product: [Eclipse Project] JDT Reporter: Peter Lenahan <Peter_Lenahan>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.16   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard: stalebug

Description Peter Lenahan CLA 2020-05-22 09:12:36 EDT
In the Java Editor, if the character   \u appears within a comment, then
the tool gives you a syntax error message

This happens with both /* comments and // comments

// d:\git_all\usage directory - These files have the first line with the name of the config file.
// d:\git_all\usage\no_references directory - These files have the first line with the name of the config file.
Comment 1 Andrey Loskutov CLA 2020-05-22 11:23:12 EDT
\u starts unicode characters, but your example does not contain legal unicode sequence, so the error.
Comment 2 Eclipse Genie CLA 2022-05-19 14:47:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2024-05-10 18:13:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.