Bug 25872 - Eclipse considers the Unicode char '\u000A' an invalid character constant.
Summary: Eclipse considers the Unicode char '\u000A' an invalid character constant.
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Windows ME
: P3 major (vote)
Target Milestone: 2.1 M3   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-08 00:14 EST by Curtis W. Ruck CLA
Modified: 2002-11-08 12:47 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 Curtis W. Ruck CLA 2002-11-08 00:14:03 EST
Eclipse considers the Unicode char '\u000A' an invalid character constant 
anywhere i try to use it as a char object.  Which this makes Eclipse think 
there is an error with the java file.  The java file works fine outside of 
Eclipse, just eclipse doesn't like it.  Technically that is a Line Feed 
character, so i don't know why it shouldn't be supported.
Comment 1 Darin Wright CLA 2002-11-08 09:43:51 EST
Moving to JCORE. 
Comment 2 Philipe Mulet CLA 2002-11-08 12:46:47 EST
This is explicitely forbidden by JLS 3.10.4.
You should use \n' instead. Javac behaves identically.
Comment 3 Philipe Mulet CLA 2002-11-08 12:47:05 EST
Closing