On Wed, 15 Sep 2021 05:52:54 GMT, Alexander Scherbatiy <alex...@openjdk.org> 
wrote:

> FontManagerFactory class uses reflection to load platform specific 
> FontManager classes from "sun.font.fontmanager" property.
> 
> Fix proposes creating FontManager platform specific classes directly in the 
> similar way as it has been already done for GraphicsEnvironment and AWT 
> Toolkit ([JDK-8130266](https://bugs.openjdk.java.net/browse/JDK-8130266) and 
> [JDK-8212700](https://bugs.openjdk.java.net/browse/JDK-8212700)).
> 
> FontManager is internal jdk class. It is placed in `sun.font` package and 
> java modularization encapsulates  FontManager from subclassing and using by a 
> user.
> 
> The fix reuses PlatformGraphicsInfo to create FontManager platform specific 
> classes. May be FontManager creation code needs to be placed in its own info 
> classes.

This pull request has now been integrated.

Changeset: 961dcffc
Author:    Alexander Scherbatiy <alex...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/961dcffc862a4830fbf26791835a98c12d4b513e
Stats:     238 lines in 6 files changed: 161 ins; 63 del; 14 mod

8273581: Change the mechanism by which JDK loads the platform-specific 
FontManager class

Reviewed-by: prr, psadhukhan, azvegint, aivanov, serb

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

PR: https://git.openjdk.java.net/jdk/pull/5517

Reply via email to