Integrated: 8370393: Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md
Matthias Baesken
mbaesken at openjdk.org
Fri Oct 31 14:14:18 UTC 2025
On Tue, 28 Oct 2025 15:05:14 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 16dafc00
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/16dafc00eca8acb0fdabf2f373bb5f84bd293086
Stats: 54 lines in 1 file changed: 0 ins; 53 del; 1 mod
8370393: Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md
Reviewed-by: clanger, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/28022
More information about the core-libs-dev
mailing list