Bug 26141

Summary: JACKS: Should report unterminated comment
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Olivier Thomann CLA 2002-11-13 13:43:02 EST
Using 1112, this code compiles fine. An unterminated comment must be reported.

class A {} /*

Javac and jikes do it.
Comment 1 Olivier Thomann CLA 2002-11-14 09:01:55 EST
Probably a bug in the scanner that doesn't return the invalid character when 
EOF is reached.
Comment 2 Olivier Thomann CLA 2002-11-14 12:06:12 EST
Change summary.
Comment 3 Olivier Thomann CLA 2002-11-14 13:12:12 EST
We can easily return an unterminated comment error.
Comment 4 Olivier Thomann CLA 2002-11-18 10:28:31 EST
Now I return an unterminated comment.
Fixed and released in 2.1 stream.
Regression tests added.
Comment 5 David Audel CLA 2002-12-17 10:24:30 EST
Verified.