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

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

    XMLWordPrintable

Details

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

    Description


      /** <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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: