[TESTBUG] @requires vm.gc == "ZGC" doesn't work

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 26
    • Component/s: hotspot

      JDK-8371146 added requires statements which don't work.
      The respective subtests fail with the following error when ZGC is excluded in the build:
      Error occurred during initialization of VM
      Option -XX:+UseZGC not supported

      Reproduction:
      configure option --disable-jvm-feature-zgc
      make run-test TEST=test/hotspot/jtreg/compiler/loopopts/superword/TestAliasingCheckPreLimitNotAvailable.java

            Assignee:
            Unassigned
            Reporter:
            Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: