Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4710200

Get Unclosed Comment if the last line of a program has a comment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.1
    • tools
    • x86
    • windows_2000



      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]
      ======================================================================

            gafter Neal Gafter (Inactive)
            pallenba Peter Allenbach (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: