<i18n dev> RFR: 8198336: java/awt/FontMetrics/FontCrash.java fails in headless mode [v2]

Phil Race prr at openjdk.java.net
Wed Oct 20 16:48:45 UTC 2021


On Wed, 20 Oct 2021 06:58:41 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8198336: java/awt/FontMetrics/FontCrash.java fails in headless mode
>
> src/java.desktop/windows/classes/sun/awt/windows/WToolkit.java line 696:
> 
>> 694:             && ((SunFontManager) fm).usePlatformFontMetrics()) {
>> 695:             return WFontMetrics.getFontMetrics(font);
>> 696:         }
> 
> The whole method can be removed? it is identical to the parent now.

true, I can't see any reason to keep it.

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

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


More information about the i18n-dev mailing list