Name: pa48320 Date: 07/01/2002
If you right a class that ends in a comment and the comment does not have a LF after it then the compiler throws an "Unclosed Comment" error and the class does not compile. This is a change in behavior from 1.3.1.
public class foo
{
} // this ends the class[EOF]
======================================================================
- duplicates
-
JDK-4733858 REGRESSION: programs with unterminated // comment don't compile
-
- Resolved
-