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

os.name should print Windows 11 in place of Windows 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u321, 8u311, 11.0.13-oracle, 17.0.1, 18
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      Output :

      jshell> System.getProperty("os.name")
      $1 ==> "Windows 10"
      jshell> System.getProperty("java.version")
      $2 ==> "18-ea"

      cmd > systeminfo
      Host Name: ---
      OS Name: Microsoft Windows 11 Pro

      Java should recognise Windows 11.

      Windows 11 release : https://www.microsoft.com/en-in/windows/windows-11-specifications

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jnordstrom Joakim Nordström
              Reporter:
              vaibhav Vaibhav Choudhary (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: