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.

This pull request has now been integrated.

Changeset: 66740494
Author:    Oli Gillespie <[email protected]>
Committer: Kevin Walls <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/667404948c1c967daf6e274c61b9d1b1bd0827d4
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8378963: Test 
test/jdk/java/lang/management/RuntimeMXBean/InputArgument.java#id4 failed

Reviewed-by: kevinw, dholmes

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

PR: https://git.openjdk.org/jdk/pull/29999

Reply via email to