[lworld] jdk/javadoc/doccheck/checks/jdkCheckLinks.java failed with missing ids

XMLWordPrintable

    • generic
    • generic

      The following test failed in the Valhalla CI:

      jdk/javadoc/doccheck/checks/jdkCheckLinks.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/300)----------
      command: main -Ddoccheck.checks=links DocCheck
      reason: User specified action: run main/othervm -Ddoccheck.checks=links DocCheck
      started: Sat Jan 17 17:53:21.299 UTC 2026
      Mode: othervm [/othervm specified]
      Process id: 1024493
      finished: Sat Jan 17 17:53:33.404 UTC 2026
      elapsed time (seconds): 12.105
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(50/3780)----------
      test: test
      docs/api/java.base/java/lang/Number.html:143: id not found: docs/specs/jls/jls-8.html#jls-8.1.1.5
      docs/api/java.base/java/lang/Object.html:121: id not found: docs/specs/jls/jls-8.html#jls-8.1.1.5
      docs/api/java.base/java/lang/Record.html:150: id not found: docs/specs/jls/jls-8.html#jls-8.1.1.5
      docs/api/allclasses-index.html:11572: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/index-files/index-12.html:4284: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/attribute/LoadableDescriptorsAttribute.html:103: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/attribute/LoadableDescriptorsAttribute.html:113: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/attribute/class-use/LoadableDescriptorsAttribute.html:114: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/attribute/package-summary.html:277: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/attribute/package-use.html:155: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/attribute/package-use.html:390: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/class-use/Attribute.html:230: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/class-use/ClassElement.html:209: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/java.base/java/lang/classfile/class-use/ClassFileElement.html:309: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      docs/api/preview-list.html:97: id not found: docs/specs/jvms/jvms-4.html#jvms-4.7.32
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-50/docs.doc_api_spec/docs/specs/value-objects-jls.html:254: missing file reference: docs/specs/statements-before-super-jls.html

      Link Checker Report
      Checked 10885 files.
      Found 1497017 references to 103478 anchors in 10885 files and 136 other URIs.
           2 missing ids
      Exception running test test: java.lang.Exception: One or more HTML checkers failed: [java.lang.RuntimeException: LinkChecker encountered errors; see log above.]
      java.lang.Exception: One or more HTML checkers failed: [java.lang.RuntimeException: LinkChecker encountered errors; see log above.]
      at DocCheck.runCheckersSequentially(DocCheck.java:194)
      at DocCheck.test(DocCheck.java:179)
      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:1516)

      1 errors
      java.lang.Exception: 1 errors found
      at toolbox.TestRunner.runTests(TestRunner.java:119)
      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:1516)

      JavaTest Message: Test threw exception: java.lang.Exception: 1 errors found
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: 1 errors found
      ----------rerun:(41/11490)*----------

      Please note that these errors DO NOT appear to be the same
      as this recently fixed javadoc issue:

          JDK-8375342 jdk/javadoc/doccheck/checks/jdkCheckHtml.java failed with duplicate anchors

            Assignee:
            Chen Liang
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: