RFR: CODETOOLS-7902936 Stray VM warnings in forked PrintPropertiesMain lead to hard to debug XML parse exception [v3]

Jason Zaugg jzaugg at openjdk.java.net
Wed May 26 04:12:24 UTC 2021


On Tue, 25 May 2021 16:47:53 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Yes, temp file would be cleanest option here

Done. That enabled a small cleanup to implement this in terms of `tryWith`.

I've also added a test that exercises `PrintPropertiesMain` by passing `-jvm current_jdk/bin/./java`. That looks like a different VM to `Runner` without actually needing a second JVM around to run tests.

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

PR: https://git.openjdk.java.net/jmh/pull/41


More information about the jmh-dev mailing list