Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903294

Use `sw_vers` to get OS version on Mac

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jtreg7.1
    • jtreg7.0
    • tools
    • None

      jtreg should use `sw_vers -productVersion` instead of `defaults read loginwindow SystemVersionStampAsString ` to get the official OS version.

      See the comments in JDK-8293504 for the motivation.
       

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: