Summary: | Commented line throws Compiler error and Runtime exception | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | madjic |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | jarthana, Olivier_Thomann |
Version: | 3.7 | ||
Target Milestone: | 3.7 M1 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
madjic
2010-06-22 10:26:14 EDT
There is nothing wrong with this. Closing as INVALID. Olivier, I am getting this error with I20100802-1800: "String literal is not properly closed by a double-quote" However, I don't get it when I use "\u001a" or "\u000c". Were you saying the error was expected? (In reply to comment #2) > Olivier, I am getting this error with I20100802-1800: > > "String literal is not properly closed by a double-quote" > > However, I don't get it when I use "\u001a" or "\u000c". Were you saying the > error was expected? Jay, Please send your test case. I'll take a look again. Since \u000a is processed before the source is parsed. It means that the line comment ends with this character and what is coming next is seen as a new line. The code is wrong and the errors are expected. Verified for 3.7M1. |