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

doc comment copied into survey tables inconsistently

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      Mark-up in the doc comment of a class is copied in an inconsistent way into the survey tables "allclasses-index.html" and "index-all.html"

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      create test/src/testpackage/Testclass.java as
      ---------------------------------------------------
      package testpackage ;
      /** <div class="XXXXX"><b>This is the first sentence.
       * This is the second sentence.</b></div>
       */
      public class Testclass{}
      ----------------------------------------------------------
      go to test/doc and execute
      ----------------------------------------------------------
      javadoc -sourcepath ../src -d . -docfilessubdirs testpackage


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Sensible mark-up in the survey tables "allclasses-index.html" and "index-all.html"
      ACTUAL -
      doc/testpackage/Test.html will show
      --------------------------------------------------------
      <div class="block"><div class="XXXXX"><b>This is the first sentence.</b>
        This is the second sentence.
      ----------------------------------------------------------
      but doc/allclasses-index.html and index-all.html show
      ----------------------------------------------------------
      <div class="block"><b>This is the first sentence.</div>


      ---------- BEGIN SOURCE ----------
      package testpackage ;
      /** <div class="XXXXX"><b>This is the first sentence.
       * This is the second sentence.</b></div>
       */
      public class Testclass{}
      ---------- END SOURCE ----------

      FREQUENCY : always


            jjg Jonathan Gibbons
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: