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

Javadoc needs a new tag to specify the summary.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 9
    • tools
    • b20
    • generic
    • generic

      Currently in javadoc the summary (firstsentence) of an element is deciphered by a dot-space rule, or if required using BreakIterator.

      It is hard to sometimes guess the users intention, and BreakIterator
      can be complex and slow when used with other languages, which does not use the English grammar rules.

      For all the reasons, instead of guessing the intentions we should provide a new tag ex:

      {@summary This is the first sentence.} This is the second sentence.

      Then it becomes crystal clear what the summary sentence(s) should be.

        There are no Sub-Tasks for this issue.

            ksrini Kumar Srinivasan
            ksrini Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: