Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8066504

GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b71
    • OS:
      windows

      Backports

        Description

        Microsoft changed the way GetVersionEx starting with Windows 8.1, it no longer reports correct versions in all cases. See JDK-8059803 for more details and how the JVM does it nowadays.

        I found several other calls to GetVersionEx that does version checking for no longer supported versions of Windows that could be cleaned out as well.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rriggs Roger Riggs
                Reporter:
                ctornqvi Christian Tornqvist
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: