Community
Participate
Working Groups
Putting "//" on the last line of a file produces an "Unexpected end of comment" syntax error.
The JLS explicitely states this behavior. 1.4 compilers are correctly reporting a line comment not ending with a line separator. Either change the compiler compliance back to 1.3, or add a line separator at the end of the comment.
We now tolerate unterminated line comments since the spec just changed (see bug 32476).