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

[solaris] libfontmanager should be linked against headless awt library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 8u60, 9
    • client-libs
    • 2d
    • b52
    • generic
    • solaris

    Backports

      Description

        Since JDK on Solaris has always had a separate "headless" AWT library which does not load X11
        libraries, the fontmanager library has been linked against that library to make sure it has no runtime
        dependency on X11 libraries that it does not need. This is important to running in an environment
        where X11 is not needed or perhaps not installed - as is frequently the case with server apps
        that make use of Java 2D.

        However the following JDK 8 b25 fix for jigsaw/modularisation
        unintentionally caused libfontmanager to link against the headful AWT
        because xawt was now being found on the link path
        https://bugs.openjdk.java.net/browse/JDK-7110002

        Although that fix pre-dated the new build system the bug was propagated there
        most likely trying to preserve exactly what happened before the new build.

        So the problem is there in JDK 8 updates and still today in JDK 9.

        The closed source t2k part of the font library also has the same issue.

        -phil.

        Attachments

          Issue Links

            Activity

              People

                prr Philip Race
                prr Philip Race
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: