On Mon, 2 Mar 2026 15:51:39 GMT, Oli Gillespie <[email protected]> wrote:
> When running the test with an explicit garbage collector flag (that isn't > ParallelGC), this test would fail with: > > > Error occurred during initialization of VM > Multiple garbage collectors selected > > > Instead of using `@requires` to limit the test compatibility, I switched the > test to use more innocuous flags that a) are unlikely to be set for test > purposes and b) can be harmlessly set multiple times. The exact flags are not > relevant to the test, we're just testing that the `-XX:` prefix is added. Looks good. ------------- Marked as reviewed by dholmes (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/29999#pullrequestreview-3878494736
