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

Incorrect javadoc comment text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 22
    • 21
    • tools
    • b07

    Backports

      Description

        Consider code like:
        ```
        public class Test {
            /***/
            void main() {
            }
        }
        ```

        When looking at the javadoc comment ('/***/`) through Trees.getDocComment, '/' is returned, which then gets passed to the DocCommentTree and creates confusions with positions.

        Attachments

          Issue Links

            Activity

              People

                jlahoda Jan Lahoda
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: