Incorrect ordering of spaces in javadoc

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: tools

      Javadoc for java.util.regex.Pattern contains incorrect sequence of tags which is not rendered correctly by java html renderer. The sequence is:

      <DL>...<PRE>...</DL>...</PRE>

      Thus rendered HTML leads to:

      public final class Patternextends Objectimplements Serializable

      For more details see this issue:

      http://www.netbeans.org/issues/show_bug.cgi?id=66342

      It was workarounded in NetBeans 5.0 but the issue is reproducible in 4.1 or earlier.
      Javadoc for javax.swing.BoundedRangeModel when rendered with java html rendered is:
      min = value = value+extent = max

      But should be:
      min <= value <= value+extent <= max

      The problem is in the <pre> block.
       <pre>
       minimum <= value <= value+extent <= maximum
       </pre>

      Browsers like Firefox generate this code properly, but java html renderer doesn't. To reproduce the issue, open javadoc in NetBeans for javax.swing.BoundedRangeModel. See also issue:

      http://www.netbeans.org/issues/show_bug.cgi?id=66216

      Unfortunately this changes the meaning of the javadoc.

            Assignee:
            Eric Armstrong (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: