[jdk25u-dev] RFR: 8370393: Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md
Matthias Baesken
mbaesken at openjdk.org
Thu Nov 27 12:56:49 UTC 2025
On Wed, 26 Nov 2025 08:38:16 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 8370393: Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md
We compile currently with Windows 8+ settings :
https://github.com/openjdk/jdk25u/blob/ddc7a00d88094d1aa886312007ae36bcbc4056cc/make/autoconf/flags-cflags.m4#L511
# _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 the support for all older Windows versions is 'dead' already in some way.
Considering this, the cleanup cuts out more or less 'useless' code (maybe even harmful one when people look at it and think we still support Win Xp, Vista etc. ).
On the other hand, it is not a must have to backport this if we want to live with the old code in 25u-dev .
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/8#issuecomment-3585716668
More information about the jdk-updates-dev
mailing list