Fix DocTreeFactory newDocCommentTree

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b140
    • generic
    • generic
    • Verified

      The Compiler Tree API's DocTreeFactory newDocCommentTree makes it difficult to create and display the comment body.

      The interface takes firstSentence and the body, but when printing the full body as required by javadoc, the whitespace between the first sentence trees and the body are lost, and it is very difficult to guess the whitespace especially in the case of break iterators and in non-english languages.

      The solution is that newDocCommenTree must take the fullbody and deal with breaking the first sentence,

            Assignee:
            Kumar Srinivasan
            Reporter:
            Kumar Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: