RFR: 8370393: Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md
Matthias Baesken
mbaesken at openjdk.org
Tue Oct 28 15:13:08 UTC 2025
There are some ancient Windows versions still handled in GetJavaProperties :
https://github.com/openjdk/jdk/blob/master/src/java.base/windows/native/libjava/java_props_md.c#L456
We compile currently with Windows 8+ settings :
# _WIN32_WINNT=0x0602 means access APIs for Windows 8 and above. See
# https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
ALWAYS_DEFINES="-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \
So everything older than Windows 8 could most likely be removed.
-------------
Commit messages:
- JDK-8370393
Changes: https://git.openjdk.org/jdk/pull/28022/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28022&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8370393
Stats: 54 lines in 1 file changed: 0 ins; 53 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/28022.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28022/head:pull/28022
PR: https://git.openjdk.org/jdk/pull/28022
More information about the core-libs-dev
mailing list