jtreg evaluates ProblemList with properties of VM running jtreg

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      When evaluating the ProblemList specified with -exclude, jtreg compares the platform specifiers as windows-i586 with the properties of the VM running the jtreg harness. It does not use the properties of the VM tested specified by -testvm.

      Our testrunner is a 64-bit VM, that also tests 32-bit variants. Thus, if we want to exclude a test for the 32-bit VM by specifying windows-i586, it is not excluded. Instead, the ProbelmList is scanned for windows-amd64 excludes.

      Basic functionality to ask the testvm for its properties is already implemented and just needs to be used in the proper place.

      This change also fixes a copy-and-paste error in OS.java.

            Assignee:
            Goetz Lindenmaier
            Reporter:
            Goetz Lindenmaier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: