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

Eliminate dependency on sun.font.lookup in javafx.graphics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9, 10, openjfx11
    • Fix Version/s: openjfx11
    • Component/s: javafx
    • Labels:

      Description

      The fix for JDK-8088325 introduced a dependency on sun.font.lookup, which is an internal package of java.desktop, in javafx.graphics.

      The following is used by PrismFontFactory to lookup the location of the JDK font directory:

          Class<?> c = Class.forName("sun.font.lookup.JDKFontLookup");

       In an effort to eliminate the use of internal packages from core module by javafx.* modules we need an alternative solution.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: