Bug 25872

Summary: Eclipse considers the Unicode char '\u000A' an invalid character constant.
Product: [Eclipse Project] JDT Reporter: Curtis W. Ruck <ruckc>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3    
Version: 2.0.1   
Target Milestone: 2.1 M3   
Hardware: PC   
OS: Windows ME   
Whiteboard:

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