REGRESSION: programs with unterminated // comment don't compile

XMLWordPrintable

    • fcs
    • generic, x86
    • generic, windows_2000

        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.

              Assignee:
              Neal Gafter (Inactive)
              Reporter:
              Josh Bloch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: