RFR: 8352890: Remove unnecessary Windows version check in FileFontStrike [v3]
Daniel Gredler
dgredler at openjdk.org
Wed Mar 26 21:14:24 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.
Daniel Gredler has updated the pull request incrementally with one additional commit since the last revision:
Completely remove FileFontStrike.initNative()
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24230/files
- new: https://git.openjdk.org/jdk/pull/24230/files/6e0d4910..16869595
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24230&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24230&range=01-02
Stats: 14 lines in 2 files changed: 0 ins; 13 del; 1 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