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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            jjg Jonathan Gibbons
            Reporter:
            prappo Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: