RFR: 8365394: Stylesheet must not load fonts on --no-fonts output

Marc Philipp duke at openjdk.org
Wed Aug 20 13:50:48 UTC 2025


While copying `resources/stylesheet.css` to the target location, the
line containing the CSS import statement for `fonts/dejavu.css` is now
removed from the output in case the `--no-fonts` option is enabled.

-------------

Commit messages:
 - Fix TestStylesheet
 - 8365394: Stylesheet must not load fonts on --no-fonts output

Changes: https://git.openjdk.org/jdk/pull/26843/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26843&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365394
  Stats: 71 lines in 4 files changed: 54 ins; 5 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/26843.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26843/head:pull/26843

PR: https://git.openjdk.org/jdk/pull/26843


More information about the javadoc-dev mailing list