-
Bug
-
Resolution: Fixed
-
P1
-
1.4.0, 1.4.1
-
fcs
-
generic, x86
-
generic, windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2057596 | 1.4.2 | Neal Gafter | P1 | Resolved | Fixed | b02 |
In all previous J2SE/JDK releases, it was possible to compile a program that ended with an unterminated single-line comment. The JLS, however, was reasonably clear that such programs should not compile (Section 3.4). Therefore, the compiler was modified to reject such programs (See Bug 4316827). Unfortunately, many existing programs do end in unterminated single line comments, so the fix to 4316827 results in significant compatibility problems.
- backported by
-
JDK-2057596 REGRESSION: programs with unterminated // comment don't compile
-
- Resolved
-
- duplicates
-
JDK-4881585 j2sdk1.4.1 doesn't support comments after the last bracket
-
- Closed
-
-
JDK-4710200 Get Unclosed Comment if the last line of a program has a comment
-
- Closed
-