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

(spec) Formatter spec for "g" format contains unclosed tag

XMLWordPrintable

    • b89
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      1.5.0_06

      ADDITIONAL OS VERSION INFORMATION :
      WinXP SP2

      A DESCRIPTION OF THE PROBLEM :
      The javadoc for java.util.Formatter, under the explanation of the "g" format, has an unclosed "sup" tag. IE seems to render this as intended anyway, but Firefox (correctly) renders the mistake. Specifically, the line:

           <p> If <i>m</i> is less than 10<sup>-4<sup> or greater than or equal to
           10<sup>precision</sup>, then it is represented in <i><a
           href="#scientific">computerized scientific notation</a></i>.

      Should be changed to:

           <p> If <i>m</i> is less than 10<sup>-4</sup> or greater than or equal to
           10<sup>precision</sup>, then it is represented in <i><a
           href="#scientific">computerized scientific notation</a></i>.

      (The first "sup" tag should be closed.)


      REPRODUCIBILITY :
      This bug can be reproduced always.

            iris Iris Clark
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: