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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 7u321, 8u311, 11.0.13-oracle, 17.0.1, 18
    • core-libs

    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

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

              Dates

                Created:
                Updated:
                Resolved: