On Mon, 2 Mar 2026 16:21:56 GMT, Kevin Walls <[email protected]> wrote:
> There is also a failure in test/jdk/jdk/jfr/event/runtime/TestVMInfoEvent.java
Oof. Should I combine the two into this issue? Or will someone create another
issue? Or should I create it?
String beanArgs =
mbean.getInputArguments().stream().collect(Collectors.joining(" "));
Asserts.assertEquals(eventArgs, beanArgs, "Wrong inputArgs");
I think the VMInfoEvent failure is purely in the test. The VMInfo event
explicitly gives `jvmFlags` as `"JVM Settings File Arguments"` so I think it's
reasonable that those remain un-prefixed. The mistake is assuming that
`getInputArguments()` does the same thing. So to fix that test I would ideally
not use `RuntimeMXBean` as a reference at all.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29999#issuecomment-3985454214