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

Remove dead code that could lead to invalid HTML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 10
    • tools
    • None

      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.

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

              Created:
              Updated:
              Resolved: