RFR: 8370393: Cleanup handling of ancient Windows versions from GetJavaProperties java_props_md

Matthias Baesken mbaesken at openjdk.org
Wed Oct 29 08:11:02 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.

Okay thanks for the feedback so I keep the HS coding as it is.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28022#issuecomment-3460286380


More information about the core-libs-dev mailing list