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

UNIX sun/font coding misses SUSE distro detection on recent distro SUSE 15

    XMLWordPrintable

Details

    • 2d
    • b06
    • generic
    • linux

    Backports

      Description

        The font coding on UNIX, see setOsNameAndVersion in

        src/java.desktop/unix/classes/sun/font/FcFontConfiguration.java
        src/java.desktop/unix/classes/sun/font/MFontConfiguration.java

        uses the file /etc/SuSE-release to detect SUSE Linux. However on SUSE Linux 15 this file does not exist any more.
        Instead /etc/os-release can be used as a replacement on SLES12 and SLES15 :

        more /etc/os-release
        NAME="SLES"
        VERSION="12-SP2"
        VERSION_ID="12.2"
        PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"

        There the name and version information is stored (NAME=... , VERSION_ID=...).

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: