[OpenJDK 2D-Dev] Internal API usage: sun.font.FontUtilities
alexandr.scherbatiy at oracle.com
Tue Jul 28 15:38:42 UTC 2015
Resending the question about sun.font.FontUtilities to 2d-dev alias.
On 7/27/2015 4:24 PM, Andrej Golovnin wrote:
> Hi Alexander,
> in our application we make use of
> to obtain an instance of CompositeFont.
> Best regards,
> Andrej Golovnin
> On Mon, Jul 27, 2015 at 2:30 PM, Alexander Scherbatiy
> <alexandr.scherbatiy at oracle.com> wrote:
>> According to the JEP 200: The Modular JDK (see
>> we expect that the standard Java SE modules will not export any internal
>> It means that classes from internal packages (like sun.swing) will not be
>> For example:
>> and others.
>> Please, let us known if you are using the internal Swing API and it is not
>> possible to replace it by public API.
>> There are some known requests:
>> JDK-8132119 Provide public API for text related methods in SwingUtilities2
>> JDK-8132120 Provide public API for screen menu bar support on MacOS
>> JDK-6274842 RFE: Provide a means for a custom look and feel to use desktop
>> font antialiasing settings.
>> If you don't know if you use these types (because you use 3rd party jars)
>> you can use the JDK 8 "jdeps" tool to find such dependencies :-
>> Usage: jdeps <options> <classes...>
>> where <classes> can be a pathname to a .class file, a directory, a JAR
>> file, or a fully-qualified class name
More information about the 2d-dev