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.

Yes they are all product flags so valid in all builds, and I don't think they 
have any conflicts.

-------------

Marked as reviewed by kevinw (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29999#pullrequestreview-3877366132

Reply via email to