On Fri, 24 Jul 2026 07:26:56 GMT, Matthias Baesken <[email protected]> wrote:
> At some places in the coding we still check for VER_PLATFORM_WIN32_NT, but > this should be obsolete. > All Windows versions from at least Windows XP fall in this category > https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoa > > There is another usage in java.base > (java.base/windows/native/libjava/java_props_md.c), I can handle this here or > do the java.base adjustment in another PR. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). I added a return value check to GlobalAlloc, seems we check this usually and should do so according to the function documentation at https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-globalalloc . ------------- PR Comment: https://git.openjdk.org/jdk/pull/32037#issuecomment-5067301985
