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

Test jdkCheckHtml.java should report SkippedException rather than report fails when miss tidy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 25
    • docs
    • None
    • b03
    • generic
    • generic

      Test test/docs/jdk/javadoc/doccheck/checks/jdkCheckHtml.java report failis when there is no tidy command:

      STDERR:
      test: test
      tidy not found on PATH
      Tidy found errors in the generated HTML
      Exception running test test: java.lang.Exception: One or more HTML checkers failed: [java.lang.RuntimeException]
      java.lang.Exception: One or more HTML checkers failed: [java.lang.RuntimeException]
              at DocCheck.runCheckersSequentially(DocCheck.java:191)
              at DocCheck.test(DocCheck.java:176)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
              at toolbox.TestRunner.runTests(TestRunner.java:91)
              at toolbox.TestRunner.runTests(TestRunner.java:73)
              at DocCheck.main(DocCheck.java:98)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:565)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:1474)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: