Community
Participate
Working Groups
Using 1112, we should reject this code: class A {} \ Javac and jikes reject it.
Probably a bug in the scanner that doesn't return the invalid character when EOF is reached.
Change summary.
What error do we want to report in this case? Invalid character constant? Invalid Unicode? Invalid character? The fix is trivial.
For now I return an invalid character. It can easily be changed for something else. Fixed and released in 2.1 stream. Regression tests added.
Verified.