RFR: 8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java fails with NoClassDefFoundError [v2]

Kevin Walls kevinw at openjdk.java.net
Tue Mar 1 13:42:06 UTC 2022


On Tue, 1 Mar 2022 13:07:36 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java line 75:
>> 
>>> 73:  * @run main/othervm/native
>>> 74:  *      -agentlib:hs201t002=pathToNewByteCode=./bin,-waittime=5,-verbose
>>> 75:  *      nsk.jvmti.scenarios.hotswap.HS201.hs201t002 -verbose
>> 
>> Is this second -verbose a mistake?
>
> No. This is the way nsk framework works.
> 1st -verbose turns on verbose output for agent (native), 2nd one for java part of the test.

aha, I didn't see where it was being recognised, thanks!

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

PR: https://git.openjdk.java.net/jdk/pull/7607


More information about the serviceability-dev mailing list