RFR: 8352890: Remove unnecessary Windows version check in FileFontStrike [v3]

Phil Race prr at openjdk.org
Thu Mar 27 18:45:25 UTC 2025


On Wed, 26 Mar 2025 21:14:24 GMT, Daniel Gredler <dgredler at openjdk.org> wrote:

>> FileFontStrike contains a check as to whether the current Windows version is Windows XP or later. The current minimum supported version is Windows 10, so this is no longer needed.
>> 
>> When the code in question was added 17 years ago, a test was included (test/jdk/java/awt/Graphics2D/DrawString/ScaledLCDTextMetrics.java), so this can be used to verify that there are no regressions.
>
> Daniel Gredler has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Completely remove FileFontStrike.initNative()

testing passed

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

PR Comment: https://git.openjdk.org/jdk/pull/24230#issuecomment-2759080851


More information about the client-libs-dev mailing list