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

[TESTBUG] fix 'test/tools/launcher/ExecutionEnvironment.java' to run on arbitrary *nix systems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • tools
    • b63
    • Verified

        The test 'test/tools/launcher/ExecutionEnvironment.java' needs a special handling on Solaris. But instead of doing:

        if (TestHelper.isSolaris) { ... } else { ... }

        it goes the other way round:

        if (TestHelper.isLinux || TestHelper.isMacOSX || TestHelper.isAIX) { ... } else { /* Solaris */ ... }

        Fix the test to explicitly check for Solaris. This will make it possible to also run the test on other operating systems without the need to explicitly name them.

              simonis Volker Simonis
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: