Use `sw_vers` to get OS version on Mac

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • jtreg7.1
    • Affects Version/s: jtreg7.0
    • Component/s: 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.
       

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

              Created:
              Updated:
              Resolved: