On Fri, 26 Jun 2026 23:41:33 GMT, Leonid Mesnik <[email protected]> wrote:
>> test/hotspot/jtreg/serviceability/jvmti/vthread/VThreadTest/VThreadTest.java
>> line 41:
>>
>>> 39: static native boolean check();
>>> 40:
>>> 41: static void log(String msg) { System.out.println(msg); }
>>
>> use System.err or flush msg
>
> sorry, just remove it
Thank you for the suggestion.
I've replaced throwing a `RuntimeException` with a call to `System.exit(1)`.
Now, the method `log()` is used to print the exception which has been caught.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/31581#discussion_r3484740959