RFR: 8370719: [Linux] Use /etc/os-release values for font configuration file names

Phil Race prr at openjdk.org
Thu Oct 30 19:16:17 UTC 2025


The JBS issue has a long discussion and explanation but here's a short version.
Instead of having baked in names of distros in the code that figures out names for font configuration files for Linux
use the standard ID and VERSION_ID fields in /etc/os-release which is now standard.
even systemd doesn't work if it does not exist https://0pointer.de/blog/projects/os-release
And if it doesn't we just use "Linux" as the name.

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

Commit messages:
 - 8370719

Changes: https://git.openjdk.org/jdk/pull/28073/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28073&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370719
  Stats: 62 lines in 2 files changed: 0 ins; 56 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/28073.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28073/head:pull/28073

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


More information about the client-libs-dev mailing list