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.

Sounds good. 
There is also a failure in test/jdk/jdk/jfr/event/runtime/TestVMInfoEvent.java 
as that compares inputArguments from mbean against a JFR Event...

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

PR Comment: https://git.openjdk.org/jdk/pull/29999#issuecomment-3985389894

Reply via email to