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

TIFF javadoc contains HTML entities inside {@code} tags

    XMLWordPrintable

    Details

      Description

      Including HTML entities inside {@code} tags results in incorrect javadoc. For example

           * @throws NullPointerException if {@code tag == null}.

      generates

          NullPointerException - if tag == null.

      which is clearly not what was intended. The above case should be corrected for example to be

           * @throws NullPointerException if {@code tag == null}.

      or

           * @throws NullPointerException if {@code tag} is {@code null}.

      Another case is

           * @throws IllegalArgumentException if {@code count < 0}.

      which generates

          IllegalArgumentException - if count < 0.

      and should be changed instead to

           * @throws IllegalArgumentException if {@code count < 0}.

        Attachments

          Activity

            People

            Assignee:
            bpb Brian Burkhalter
            Reporter:
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: