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

compiler/runtime/TestConstantsInError.java fails on riscv

    XMLWordPrintable

Details

    • 20
    • b07
    • riscv
    • linux

    Backports

      Description

        compiler/runtime/TestConstantsInError.java fails on riscv with the following error:

        ```
        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'made not entrant' found in stdout
        ```

        Similar to AArch64, RISCV64 does not patch C1 compiled code (see JDK-8223613), so we should add `Platform.isRISCV64` too for the test.

        This test @requires vm.flagless. According to JDK-8246494, tests with @requires vm.flagless will be excluded from runs w/ any other X / XX flags passed via -vmoption / -javaoption.
        Since we added `-Xmx` option for all jtreg tests, so this failure does not menifest before.

        Attachments

          Issue Links

            Activity

              People

                fjiang Feilong Jiang
                fjiang Feilong Jiang
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: