Integrated: 8352890: Remove unnecessary Windows version check in FileFontStrike

Daniel Gredler dgredler at openjdk.org
Fri Mar 28 00:37:14 UTC 2025


On Tue, 25 Mar 2025 14:21:10 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.

This pull request has now been integrated.

Changeset: d5b12c82
Author:    Daniel Gredler <dgredler at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d5b12c82fe7c25ccfd70edf73b80824ad316e797
Stats:     24 lines in 2 files changed: 1 ins; 19 del; 4 mod

8352890: Remove unnecessary Windows version check in FileFontStrike

Reviewed-by: serb, prr

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

PR: https://git.openjdk.org/jdk/pull/24230


More information about the client-libs-dev mailing list