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

Doclint doesn't detect <code> {@code nested inline} </code>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • tools
    • 8
    • b75
    • Verified


      /** <code> if (enumVal == {@code ENUM_VALUE}) { ... }</code> *.

      Since {@code code} by specification is equivalent to
      <code{@literal code}</code>, the expectation would be to get a warning about
      nested <code> tags. Nesting is not allowed for inline tags.

            jjg Jonathan Gibbons
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: