Check os.name before os.version in SunGraphicsEnvironment constructor

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 8, 9
    • Component/s: client-libs
    • None
    • 2d
    • b76

        In the constructor of SunGraphicsEnvironment there's a check for os.version > 5.10.

        If this check is true, /etc/release is opened to get additional Solaris-specific information. But this query only makes sense on Solaris, so we should first check if we're on solaris before we check for os.version beeing bigger than 5.10.

        Otherwise, the VM will try to open /etc/release on every system which has an os.version bigger than 5.10.

              Assignee:
              Volker Simonis
              Reporter:
              Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: