-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
low
-
-
System or security property
-
Implementation
Summary
Remove the sun.font.fontmanager system property, which is used to name the platform-specific internal subclass of sun.font.FontManager
Problem
The sun.font.fontmanager system property is used to specify the name of the implementation class for the FontManager which is created by reflection. The platform over-ride value was hard-coded into the platform-specific code to initialize the system properties.
This implies that FontManager creation is pluggable which it is not. sun.font.FontManager is an internal class and since jdk 9 it is not possible to provide FontManager subclass outside java.desktop module due to the module system encapsulation.
Solution
Remove the sun.font.fontmanager system property which is used to specify the name of the platform implementation class.
It is replaced by a mechanism entirely internal to the java.desktop module which does not require setting a system property.
Specification
Remove the sun.font.fontmanager system property
- csr of
-
JDK-8273581 Change the mechanism by which JDK loads the platform-specific FontManager class
- Resolved
- relates to
-
JDK-8212700 Change the mechanism by which JDK loads the platform-specific AWT Toolkit
- Resolved
-
JDK-8222990 Change the mechanism by which JDK loads the platform-specific GraphicsEnvironment class
- Closed