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

unclosed tag in Javadoc for JOptionPane.java

    XMLWordPrintable

Details

    • x86
    • windows_2000

    Description

      Name: gm110360 Date: 08/18/2004


      FULL PRODUCT VERSION :
      java version "1.4.2_03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
      Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows 2000 [Version 5.00.2195]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      j2sdk1.4.2_03

      A DESCRIPTION OF THE PROBLEM :
      The javadoc at JOptionPane.java line 1126 has an unclosed <code> tag. The javadoc at <http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JOptionPane.html> shows the same symptom.

      The closing tag is missing its ">" character. The broken line is this:

           * <code>YES_NO_CANCEL_OPTION</code.

      It should be:

          * <code>YES_NO_CANCEL_OPTION</code>.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Generate the javadoc for JOptionPane.java. It will display incorrectly below the description of the 6 argument variant of the showInternalConfirmDialog method.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expected: correctly formatted javadoc.
      ACTUAL -
      Everything below showInternalConfirmDialog() is displayed incorrectly.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Edit the source file and insert the missing ">" character. Regenerate the javadoc.
      (Incident Review ID: 296941)
      ======================================================================

      Attachments

        Activity

          People

            shainessunw Suzette Haines (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: