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

JavaDoc style sheet includes non-existant dejavu.css

    Details

    • Type: Bug
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11.0.3
    • Fix Version/s: None
    • Component/s: tools

      Description

      ADDITIONAL SYSTEM INFORMATION :
      I'm using OpenJDK 10.0.2, but there is no matching version that I can select from the release drop-down box.

      Specifically, I'm using the package java-10-openjdk-devel-10.0.2.0-lp151.2.3.2.x86_64 on openSUSE Leap 15.1.

      A DESCRIPTION OF THE PROBLEM :
      The stylesheet.css written by JavaDoc starts with the following line:

      @import url('resources/fonts/dejavu.css');

      However, the file it tries to include isn't written by JavaDoc. As a result, when serving JavaDoc output on a web server, 404 (not found) errors are logged.

      There is a bug report for this problem: JDK-8129828. However, that was marked as a duplicate of 8039305, which is not viewable by the public. There is also JDK-8093199 which seems to describe the same problem, but that was marked as fixed in JDK8 in 2014, so if the problem still exists in JDK10 today then I guess it's a regression.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run JavaDoc, put generated documentation in a directory served by a web server, load generated documentation in a web browser.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No errors.
      ACTUAL -
      I'm seeing 404 (not found) reported on both the web server and the web browser (Chrome, Inspect > Console).

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: