RFR: 8352890: Remove unnecessary Windows version check in FileFontStrike
Daniel Gredler
dgredler at openjdk.org
Tue Mar 25 14:27:56 UTC 2025
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.
-------------
Commit messages:
- Remove unnecessary Windows version check in FileFontStrike
Changes: https://git.openjdk.org/jdk/pull/24230/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24230&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8352890
Stats: 15 lines in 2 files changed: 1 ins; 7 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/24230.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24230/head:pull/24230
PR: https://git.openjdk.org/jdk/pull/24230
More information about the client-libs-dev
mailing list