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

Allow `@` as an escape in documentation comments

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 21
    • None
    • tools

      There are situations that may benefit from the introduction of an escape-character mechanism to workaround undesirable existing behavior.

      Some of these situations are exacerbated if using Markdown syntax in comments, although not inherently so.

      There are 3 known situations.

      1. To inhibit the use of `@` to introduce a block tag or inline tag.
      2. To allow a line to begin with `whitespace asterisk` when that sequence might otherwise by ignored when obtaining the content of a doc comment
      3. To allow writing `*/`, to avoid that sequence ending the enclosing comment.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: