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

doclint does not report empty tags when tag closed implicitly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • tools
    • b113
    • Verified

    Description

      /** */
      public interface Test {
          /** <p> </p>*/
          void p_end_p();
          /** <p> */
          void p_end();
          /** <p> <table summary="table"> <tr> <td> abc </table> */
          void p_table();
      }

      just reports:
      $ javac -Xdoclint play/Test.java
      play/Test.java:4: warning: empty <p> tag
          /** <p> </p>*/
                  ^
      1 warning

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: