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

html4 validation tests need to be replaced by a jtreg test using tidy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 9
    • tools

      With Xdoclint changes 'on' by default, few source files in sampleapi dir now give an error/warning when javadoc is run over them to create html files.

      These errors are causing generation of html files to fail which in turn caused all tests in html4 test suite to fail as the html files are needed to run the tests.

      Aurora log: http://aurora-ds.ru.oracle.com:9500/runs/154916.JDK8-LANGTOOLS-NIGHTLY.tools-javadoc-Linux64.gatherSysInfo_resubmit0/results/ResultDir/javadoc/javadoc.log

      Sample errors:
      Sample errors:
      pkg/C.java:27: error: self-closing element not allowed * Qualified Link: {@link pkg.C.InnerC}.<br/>
      Above error repeated for lines 27 - 32, 39, 40, 46
      pkg/TypeParameters.java:33: error: @param name not found * @param <BadClassTypeParam> this should cause a warning.
      pkg1/C1.java:80: error: reference not found * @exception HeadlessException
      pkg1/C2.java:79: error: unexpected text * @throws <code>IOException</code>
      pkg2/C.java:29: error: identifier expected * @serialField \ud801\udc00field int

      Attached is the list of all errors and warnings generated.

            anazarov Andrey Nazarov (Inactive)
            sogoel Sonali Goel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: