Determine if JavaDoc should treat \f (Form Feed) as newline

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 18
    • Component/s: tools
    • None

      This came up during review of snippets (JDK-8266666) because of the related changes to DocCommentParser.

      Should `\f` (FORM FEED) break a line? Relevant specifications have different opinions on this. For example:

      No: https://docs.oracle.com/javase/specs/jls/se17/html/jls-3.html#jls-3.4
      Yes: https://www.unicode.org/versions/Unicode13.0.0/ch05.pdf, "5.8 Newline Guidelines"
      No: https://html.spec.whatwg.org/multipage/syntax.html#newlines

            Assignee:
            Unassigned
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: