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

javadocs incorrectly parses FirstSentence tags.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 9
    • tools
    • None

      Supposing we have:
          /**
           * <pre>
           * Result: {@value pkg1.Class1#TEST_8_PASSES}
           * Result: {@value pkg2.Class3#TEST_13_PASSES}
           * </pre>
           */
          public int field;

      The first sentence tags array contains the contents of <pre> along
      with the Html attribute.
      This is even worse with this case:
       * <pre>
       * This is a sentence.
       * This is another sentence.
       * </pre>
      Where the first sentence tags contains only
      <pre> This is another sentence.
      Causing malformed tags.

      Therefore the "<" must be regarded as a break.

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

              Created:
              Updated: