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

jtreg uses value 'os.arch' property of JDK which executed JDK and not of tested JDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg7.5
    • jtreg4.2
    • tools
    • None

      This issue affects cases when stable jdk which used to run jtreg differs from tested JDK. (Usually arm64 to run arm32 and x64 to run x32 tests).
      The stable JDK reports other 'os.arch' and tests are selected incorrectly.

      Here is the doc:
      "@requires <expression>

          Express a dependence on characteristics of the system being tested. Some harnesses allow tests to be selected according to the characteristics of the system being tested. The expression may be composed of the following elements:"

      "os.arch The operating system architecture, as given by the corresponding system property."

      So user could expect to have "os.arch" of tested JDK.

            cstein Christian Stein
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: