JLS2 3.7 Minor bug in comment specifications

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • None
    • Affects Version/s: 1.1.3
    • Component/s: specification
    • generic
    • solaris_2.5.1

      The Java language specification requires that all comments that start
      with '//' ends with a new line character. So strictly speaking, a sequence
      of characters that starts with '//' and ends with the end of file <EOF>
      without a preceding new line character is an illegal comment in a Java
      program.

      This is a difference between the compiler and the spec, it seems appropriate
      to fix the spec in this case, but I am filing it as a bug report here because
      I don't know how to file a bug report on the spec.

      Or do others disagree with me and believe it is a bug with the compiler?

            Assignee:
            David Stoutamire (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: