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

Javadoc errors out on some valid HTML tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u5
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      x86
    • OS:
      os_x
    • Verification:
      Verified

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_05"
      Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      We have some <abbr> tags in our Javadoc.

      When running these through the Javadoc tool, we get an error:

          src/java/com/acme/data/file/image/wmf/NonApmWmfImageData.java:19: error: unknown tag: abbr
            * <abbr title="Aldus Placeable Metafile">APM</abbr> header.</p>
                 ^

      Needless to say, <abbr> is a perfectly valid tag in HTML and is even present in the outdated version of HTML which Javadoc is still generating.

      This essentially prevents using the tool to generate documentation. I consider it a regression also, because Java 7 did not do this checking and thus we were able to use the tool.


      REGRESSION. Last worked in version 7u60


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            jjg Jonathan Gibbons
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: