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

Remove dead code that could lead to invalid HTML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: tools
    • Labels:
      None

      Description

      The work for JDK-8190821 revealed code to generate <FONT> elements, which are illegal in HTML 5. This was traced back to support for an obsolete "String stylename" field in LinkInfoImpl.

      The field is currently unused (never set). It should be removed, along with the method arguments and parameters that pass the information to the create link method. The code to generate a <font> element should likewise be removed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: