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

Incorrect javadoc comment text

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: