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

TestRedirectLinks fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        Testing https://github.com/openjdk/jdk/pull/2200 reveals this failure in jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java:

        Starting subtest 1.1: check exit code
        FAILED: return code 1; expected OK(0)
                at javadoc.tester.JavadocTester.checkExit(JavadocTester.java:450)
                at TestRedirectLinks.testRedirects(TestRedirectLinks.java:123)

        Starting subtest 1.2: checkOutput
        FAILED: outRedirect/pkg/B.html: following text not found:
        FAILED: outRedirect/pkg/C.html: following text not found:
        FAILED: OUT: following text not found:
        FAILED: api/mC/p5/C5.html: following text not found:
        FAILED: api/mC/p6/C6.html: following text not found:

        java.lang.Error: 6 of 8 subtests failed, in 3 runs of javadoc
        at javadoc.tester.JavadocTester.printSummary(JavadocTester.java:915)
        at javadoc.tester.JavadocTester.runTests(JavadocTester.java:283)
        at javadoc.tester.JavadocTester.runTests(JavadocTester.java:259)
        at TestRedirectLinks.main(TestRedirectLinks.java:73)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:831)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jjg Jonathan Gibbons
                Reporter:
                gziemski Gerard Ziemski
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: