Community
Participate
Working Groups
Using 1112, this code compiles fine. An unterminated comment must be reported. class A {} /* Javac and jikes do it.
Probably a bug in the scanner that doesn't return the invalid character when EOF is reached.
Change summary.
We can easily return an unterminated comment error.
Now I return an unterminated comment. Fixed and released in 2.1 stream. Regression tests added.
Verified.