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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: jtreg4.2
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: